blob: 2863e95fba518ee87400e92c11219169e47ec929 (
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.6 2004/11/05 14:25:19 adam Exp $
--- configure.orig 2004-10-26 19:08:17.000000000 +0000
+++ configure
@@ -2733,12 +2733,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@"
CPPFLAGS="$CPPFLAGS -fnext-runtime -DNeXT_RUNTIME"
else
echo "$as_me:$LINENO: result: GNU" >&5
echo "${ECHO_T}GNU" >&6
- LIBOBJC='-lobjc'
+ LIBOBJC='-lobjc @PTHREAD_LIBS@'
CPPFLAGS="$CPPFLAGS -fgnu-runtime"
fi
@@ -2762,7 +2762,7 @@ fi
# $GNUSTEP_HDIR are used before the standard ones
#
CPPFLAGS="$CPPFLAGS -I$GNUSTEP_HDIR"
-LDFLAGS="$LDFLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
+LDFLAGS="$LDFLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -Wl,-R$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR -Wl,-R$GNUSTEP_LDIR"
#--------------------------------------------------------------------
# Check if Objective-C is installed
|