]> err.no Git - sope/commitdiff
hack for PG on OSX
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 16 Mar 2005 13:03:55 +0000 (13:03 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 16 Mar 2005 13:03:55 +0000 (13:03 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@660 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

configure

index b8b54759b730d3996609a399d03f6bfbfd1add01..a943097594353d1583085e1a1d2924af81736a59 100755 (executable)
--- a/configure
+++ b/configure
@@ -24,6 +24,7 @@ DARG_GNUSTEP_SH="$ARG_GSMAKE/GNUstep.sh"
 DARG_IS_FHS=1
 
 NGSTREAMS_DIR="./sope-core/NGStreams"
+LINK_SYSLIBDIRS="-L/usr/local/pgsql/lib -L/usr/local/lib -L/usr/lib"
 
 # ******************** usage ********************
 
@@ -278,7 +279,7 @@ function checkLinking() {
   echo >>$tmpmake "TOOL_NAME           := linktest"
   echo >>$tmpmake "linktest_OBJC_FILES := dummytool.m"
   echo >>$tmpmake "linktest_TOOL_LIBS  += -l$1"
-  echo >>$tmpmake "SYSTEM_LIB_DIR      += -L/usr/local/lib -L/usr/lib"
+  echo >>$tmpmake "SYSTEM_LIB_DIR      += $(LINK_SYSLIBDIRS)"
   echo >>$tmpmake "include \$(GNUSTEP_MAKEFILES)/tool.make"
   
   make -s messages=yes -f $tmpmake linktest >out.log 2>err.log