blob: 6ce5b6f94b258ac226b61ede25a846d4f5b9a258 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-aa,v 1.11 2006/08/30 14:55:00 adam Exp $
--- configure.orig 2006-08-10 13:53:13.000000000 +0200
+++ configure
@@ -3601,12 +3601,12 @@ echo $ECHO_N "checking the Objective-C r
if test "$OBJC_RUNTIME_LIB" = "nx" -o "$OBJC_RUNTIME_LIB" = "apple"; then
{ echo "$as_me:$LINENO: result: NeXT" >&5
echo "${ECHO_T}NeXT" >&6; }
- LIBOBJC='-lobjc'
+ LIBOBJC='-lobjc @PTHREAD_LIBS@'
OBJCFLAGS="-fnext-runtime -DNeXT_RUNTIME"
else
{ echo "$as_me:$LINENO: result: GNU" >&5
echo "${ECHO_T}GNU" >&6; }
- LIBOBJC='-lobjc'
+ LIBOBJC='-lobjc @PTHREAD_LIBS@'
OBJCFLAGS="-fgnu-runtime"
fi
@@ -3630,7 +3630,7 @@ fi
# $GNUSTEP_HDIR are used before the standard ones
#
INCLUDE_FLAGS="$INCLUDE_FLAGS -I$GNUSTEP_HDIR"
-LDIR_FLAGS="$LDIR_FLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
+LDIR_FLAGS="$LDIR_FLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -Wl,-R$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR -Wl,-R$GNUSTEP_LDIR"
#--------------------------------------------------------------------
# Check if Objective-C is installed
|