blob: ed0fd899364140dab22c29c269b9685eae49d53b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-bn,v 1.1.1.1 2002/02/13 18:09:22 mrauch Exp $
--- ../sal/util/makefile.mk.orig Tue Jan 1 14:11:15 2002
+++ ../sal/util/makefile.mk
@@ -148,9 +148,13 @@
SHL1STDLIBS= -lpthread -lposix4
.IF "$(COM)" == "C50"
SHL1STDLIBS+= -z allextract -staticlib=Crun -z defaultextract
-.ENDIF
-.ENDIF
-.ENDIF
+.ENDIF # COM == C50
+.ENDIF # OS == SOLARIS
+.IF "$(OS)"=="NETBSD"
+SHL1STDLIBS+= -Wl,--whole-archive -lgnu_readdir_r -Wl,--no-whole-archive
+.ENDIF # OS == NETBSD
+.ENDIF # GUI == UNX
+
.IF "$(GUI)"=="OS2"
SHL1STDLIBS=n:\toolkit4\lib\so32dll.lib\
|