From 8fb16b3159fd8228edcc509d0e5bc9448e07e86a Mon Sep 17 00:00:00 2001 From: helge Date: Fri, 20 Aug 2004 23:09:42 +0000 Subject: [PATCH] special dirpath patch for macosx git-svn-id: http://svn.opengroupware.org/SOPE/trunk@28 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-ldap/NGLdap/GNUmakefile.preamble | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 2.39.5