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.
This commit is contained in:
Amar Takhar 2009-01-08 08:22:53 +00:00
parent 9021ddfef8
commit 81a168d625

View file

@ -118,7 +118,10 @@ endif
if HAVE_AUTO3_LUA if HAVE_AUTO3_LUA
AUTO3_LUA = auto4_auto3.cpp 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 endif
if HAVE_HUNSPELL if HAVE_HUNSPELL