diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-05 09:06:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-05 09:06:32 +0000 |
commit | b8fb774718de49d5a96e6cfa5b38a42b9f3f0e6a (patch) | |
tree | 3f1cdfbb5aecf88ab5fe27af29b81202241934b2 /src/util | |
parent | 0bae85f2b4fe6e55a3f5164066afe64cf499432b (diff) | |
download | gnunet-b8fb774718de49d5a96e6cfa5b38a42b9f3f0e6a.tar.gz gnunet-b8fb774718de49d5a96e6cfa5b38a42b9f3f0e6a.zip |
LRN: Add '-Wl,' prefix to -no-undefined
-no-undefined is not a valid compiler option as of GCC 4.6.x
(it IS valid linker option).
Note that this REQUIRES an extra -no-undefined to be passed to
libtool (this is done by GN_LIB_LDLFAGS and GN_PLUGIN_LDFLAGS),
because libtool does not understand -Wl,-no-undefined.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 98af8383a..c62fc4246 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am | |||
@@ -14,7 +14,7 @@ libgnunetutilwin_la_SOURCES = \ | |||
14 | win.cc \ | 14 | win.cc \ |
15 | winproc.c | 15 | winproc.c |
16 | libgnunetutilwin_la_LDFLAGS = \ | 16 | libgnunetutilwin_la_LDFLAGS = \ |
17 | -Wl,--no-undefined -Wl,--export-all-symbols | 17 | -no-undefined -Wl,--export-all-symbols |
18 | libgnunetutilwin_la_LIBADD = \ | 18 | libgnunetutilwin_la_LIBADD = \ |
19 | -lshell32 -liconv -lstdc++ \ | 19 | -lshell32 -liconv -lstdc++ \ |
20 | -lcomdlg32 -lgdi32 | 20 | -lcomdlg32 -lgdi32 |