tReplaced nasty hack, overriding the LIBTOOL variable in the Makefile, with ano… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c912865e6ab32c890c7cf76d4293cc1790dc1d45 | |
parent 509602a28911593055ddfce22972b3736b8271b1 | |
Author: Ben Webb <[email protected]> | |
Date: Fri, 24 May 2002 11:36:24 +0000 | |
Replaced nasty hack, overriding the LIBTOOL variable in the Makefile, | |
with another nasty hack, overriding the LINK variable instead. This has | |
tthe advantage that the external "fakelibtool.sh" script is no longer needed. | |
Diffstat: | |
M src/Makefile.am | 8 ++++---- | |
D src/fakelibtool.sh | 4 ---- | |
2 files changed, 4 insertions(+), 8 deletions(-) | |
--- | |
diff --git a/src/Makefile.am b/src/Makefile.am | |
t@@ -1,9 +1,9 @@ | |
-# Nasty hack; there seems to be no way of disabling libtool for the link | |
-# of the main executable... | |
+# Nasty hack; there seems to be no other way of disabling libtool for the | |
+# link of the main executable... | |
if PLUGINS | |
-LIBTOOL = $(SHELL) $(top_builddir)/libtool | |
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ | |
else | |
-LIBTOOL = ./fakelibtool.sh | |
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ | |
endif | |
if GUI_CLIENT | |
diff --git a/src/fakelibtool.sh b/src/fakelibtool.sh | |
t@@ -1,4 +0,0 @@ | |
-#!/bin/sh | |
-# Discard the --mode=xxx argument to libtool, and then run the original command | |
-shift | |
-exec $* |