From: helge Date: Fri, 20 Aug 2004 23:09:42 +0000 (+0000) Subject: special dirpath patch for macosx X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb16b3159fd8228edcc509d0e5bc9448e07e86a;p=sope special dirpath patch for macosx git-svn-id: http://svn.opengroupware.org/SOPE/trunk@28 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-ldap/NGLdap/GNUmakefile.preamble b/sope-ldap/NGLdap/GNUmakefile.preamble index bf01cd36..dc912f82 100644 --- a/sope-ldap/NGLdap/GNUmakefile.preamble +++ b/sope-ldap/NGLdap/GNUmakefile.preamble @@ -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