]> err.no Git - sope/commitdiff
special dirpath patch for macosx
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Fri, 20 Aug 2004 23:09:42 +0000 (23:09 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Fri, 20 Aug 2004 23:09:42 +0000 (23:09 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@28 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-ldap/NGLdap/GNUmakefile.preamble

index bf01cd360c2d5421e041a800080a2443cf8bdd83..dc912f82757f114a5880e79650f409207e426d37 100644 (file)
@@ -5,8 +5,12 @@ ADDITIONAL_INCLUDE_DIRS += \
        -I..                            \
        -I../../sope-core/NGExtensions  \
        -I../../sope-core               \
-       -I/usr/local/include            \
-       -I/usr/local/openldap/include
+       -I/usr/local/include
+
+ifneq ($(FOUNDATION_LIB),apple)
+ADDITIONAL_INCLUDE_DIRS += -I/usr/local/openldap/include
+ADDITIONAL_LIB_DIRS     += -L/usr/local/openldap/lib
+endif
 
 
 libNGLdap_LIBRARIES_DEPEND_UPON += \
@@ -59,9 +63,7 @@ ADDITIONAL_LIB_DIRS += \
        -L../../sope-core/EOControl/$(GNUSTEP_OBJ_DIR)
 endif
 
-ADDITIONAL_LIB_DIRS += \
-       -L/usr/local/lib                \
-       -L/usr/local/openldap/lib
+ADDITIONAL_LIB_DIRS += -L/usr/local/lib
 
 # Apple