blob: f097892249e70328096e2b31e99ba1d34238ac8c (
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
|
diff --git a/makerule.mk.in b/makerule.mk.in
index fa9a7e1..dc7210a 100644
--- a/makerule.mk.in
+++ b/makerule.mk.in
@@ -94,7 +94,7 @@ ALLDEFINES = $(INCLUDES) $(DEFINES)
CFLAGS = @CFLAGS@ @CDEBUGFLAGS@ $(CCOPTIONS) @ipv6@ @DEFS@ $(ALLDEFINES)
LIBS = @LIBS@
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
-LDOPTIONS = @CDEBUGFLAGS@ $(CCOPTIONS)
+LDOPTIONS = @CDEBUGFLAGS@ $(CCOPTIONS) $(LDFLAGS)
#
diff --git a/Wnn/jlib.V3/Makefile.in b/Wnn/jlib.V3/Makefile.in
index 9d5b873..5b1bf23 100644
--- a/Wnn/jlib.V3/Makefile.in
+++ b/Wnn/jlib.V3/Makefile.in
@@ -76,7 +76,7 @@ includes::
all:: libjd.la
libjd.la: $(OBJS) $(EXTRALIBRARYDEPS)
- $(LIBTOOL) $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION)
+ $(LIBTOOL) $(CC) -o $@ $(LDOPTIONS) $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION)
lintlib:: llib-ljd.ln
|