From 81a168d6254c7e24227e4098a2ecf67ff1cd164b Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 8 Jan 2009 08:22:53 +0000 Subject: [PATCH] Add a workaround for dependency_libs in auto3/, libtool brings in libraries automatically which causes link errors due to auto4 (lua 5.1). Originally committed to SVN as r2675. --- aegisub/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aegisub/Makefile.am b/aegisub/Makefile.am index 6d9a89388..8c70031bd 100644 --- a/aegisub/Makefile.am +++ b/aegisub/Makefile.am @@ -118,7 +118,10 @@ endif if HAVE_AUTO3_LUA AUTO3_LUA = auto4_auto3.cpp -aegisub_2_1_LDADD += -L$(srcdir)/../auto3 -laegisub-auto3-2.1 +# This is a workaround top stop libtool from binging in dependency_libs which +# causes many link errors due to auto4 (lua 5.1) support. +#aegisub_2_1_LDADD += -L$(srcdir)/../auto3 -laegisub-auto3-2.1 +aegisub_2_1_LDADD += ../auto3/.libs/libaegisub-auto3-2.1.so endif if HAVE_HUNSPELL