gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for gsldap


From: Chris B. Vetter
Subject: Patch for gsldap
Date: Sun, 9 Jul 2006 19:37:28 +0200

Hi,

the following patch is required to cleanly compile gsldap on FreeBSD
(possibly others that do not have/need -lresolv).

--- Makefile.preamble.ORG       Sun Jul  9 19:33:56 2006
+++ Makefile.preamble   Sun Jul  9 19:33:30 2006
@@ -57,7 +57,11 @@
#-lgnustep-xraw

# Additional library directories the linker should search
-ADDITIONAL_LIB_DIRS = -L../src/$(GNUSTEP_OBJ_DIR)
-L$(GNUSTEP_SYSTEM_ROOT)/lib  -L/usr/local/lib -lldap -llber -lresolv
+ADDITIONAL_LIB_DIRS = -L../src/$(GNUSTEP_OBJ_DIR)
-L$(GNUSTEP_SYSTEM_ROOT)/lib  -L/usr/local/lib -lldap -llber
+
+ifneq ($(findstring freebsd, $(GNUSTEP_HOST_OS)), freebsd)
+       ADDITIONAL_LIB_DIRS += -lresolv
+endif

#
# Flags dealing with installing and uninstalling

--
Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]