tIf no plugins are desired, do not link the main executable via. libtool (other… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit bbbc21c71e652873b5fcb6c232bda1b917d4852d | |
parent 239bcfd94773216200949efe75bb26cd7cbaba90 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 13 May 2002 15:29:44 +0000 | |
If no plugins are desired, do not link the main executable via. libtool | |
(otherwise the link can fail when libtool tries to pull in dependencies, | |
such as libvorbisfile.so) | |
Diffstat: | |
M src/Makefile.am | 6 ++++++ | |
1 file changed, 6 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/src/Makefile.am b/src/Makefile.am | |
t@@ -1,3 +1,9 @@ | |
+# Nasty hack; there seems to be no way of disabling libtool for the link | |
+# of the main executable... | |
+if NOPLUGINS | |
+LIBTOOL = ./fakelibtool.sh | |
+endif | |
+ | |
if GUI_CLIENT | |
GUISUBDIR = gui_client | |
endif |