Fix installation of libdbdi-drivers with apt.postgresql.org. collab/dyrcona/wheezy-pg93-testing
authorJason Stephenson <jason@sigio.com>
Wed, 1 Mar 2017 21:56:12 +0000 (16:56 -0500)
committerJason Stephenson <jason@sigio.com>
Wed, 1 Mar 2017 22:55:05 +0000 (17:55 -0500)
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/extras/install/Makefile.common

index 3ad90cf..81dd53c 100644 (file)
@@ -24,8 +24,9 @@ install_libdbi:
        tar -zxf $(LIBDBI).tar.gz
        tar -zxf $(LIBDBI_DRIVERS).tar.gz
        cd $(LIBDBI) && ./configure --disable-docs && make all install
-       cd $(LIBDBI_DRIVERS) && ./configure  \
-               --disable-docs --with-pgsql --enable-libdbi && make all install  
+       cd $(LIBDBI_DRIVERS) && ./configure --disable-docs --enable-libdbi \
+               --with-pgsql --with-pgsql-incdir=$$(pg_config --includedir) \
+               --with-pgsql-libdir=$$(pg_config --libdir) && make all install  
 
 # NOTE: Deprecate me with wheezy
 install_nodejs_from_source: