--- Makefile.orig 2014-04-11 01:36:44.000000000 -0500 +++ Makefile 2014-04-11 01:39:06.000000000 -0500 @@ -18,7 +18,7 @@ bindir = $(prefix)/bin libdir = $(shell pkg-config pure --variable libdir) -ODBCLIB = -lodbc +ODBCLIB = ifeq ($(DLL),.dylib) # OSX: hardcode the installation path into the module, so that the module can