]> err.no Git - sope/commitdiff
added PG libdir to system libdir
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 5 Jul 2006 10:05:37 +0000 (10:05 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 5 Jul 2006 10:05:37 +0000 (10:05 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1312 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-gdl1/PostgreSQL/GNUmakefile.preamble

index 1a728365ac216a10f9af079cacfff25013a0c100..0a997f52ea39429734c5e170f9fb35a09dca08d3 100644 (file)
@@ -34,7 +34,7 @@ endif
 # PG config
 
 ADDITIONAL_INCLUDE_DIRS += -I$(shell pg_config --includedir)
-ADDITIONAL_LIB_DIRS     += -L$(shell pg_config --libdir)
+PG_LIB_DIRS     += -L$(shell pg_config --libdir)
 PostgreSQL_BUNDLE_LIBS  += -lpq
 
 
@@ -81,7 +81,7 @@ ADDITIONAL_LIB_DIRS += \
 endif
 
 
-SYSTEM_LIB_DIR += $(CONFIGURE_SYSTEM_LIB_DIR)
+SYSTEM_LIB_DIR += $(CONFIGURE_SYSTEM_LIB_DIR) $(PG_LIB_DIRS)
 
 # TODO: not necessary? covered by pg_config?
 #ifeq ($(FOUNDATION_LIB),apple)