]> err.no Git - sope/commitdiff
added 64bit lib lookup
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 3 Jul 2006 22:42:25 +0000 (22:42 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 3 Jul 2006 22:42:25 +0000 (22:42 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1295 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-ldap/NGLdap/GNUmakefile.preamble
sope-ldap/NGLdap/fhs.make

index e374b012c2e52bc8648627c594c9ba9d65fd117b..6fa866512a670ce1a9c6666acace9daed41a6bf9 100644 (file)
@@ -70,8 +70,11 @@ ADDITIONAL_LIB_DIRS += \
        $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
 endif
 
+ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
+SYSTEM_LIB_DIR += -L/usr/local/lib64
+else
 SYSTEM_LIB_DIR += -L/usr/local/lib
-
+endif
 
 # Apple
 
index 27422bdcf72b127d3cdcabe4f81eb37e00ffc0e0..3bacf6da8849ce9f35ddc80c379b50e9961c6433 100644 (file)
@@ -5,9 +5,14 @@
 ifneq ($(FHS_INSTALL_ROOT),)
 
 FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
 FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
 
+ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib64/
+else
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+endif
+
 fhs-header-dirs ::
        $(MKDIRS) $(FHS_INCLUDE_DIR)$(libNGLdap_HEADER_FILES_INSTALL_DIR)