summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@gentoo.org>2006-10-14 10:44:03 +0000
committerEmanuele Giaquinta <exg@gentoo.org>2006-10-14 10:44:03 +0000
commite1ec94e7f4b82da4d88339490196846cb4c94593 (patch)
treebe589f37e26887b30191c7abbc4ef1184fd945b1 /dev-lang/lua/files
parentFix econf call for non-autotools configure, fix quoting, remove pregenerated ... (diff)
downloadgentoo-2-e1ec94e7f4b82da4d88339490196846cb4c94593.tar.gz
gentoo-2-e1ec94e7f4b82da4d88339490196846cb4c94593.tar.bz2
gentoo-2-e1ec94e7f4b82da4d88339490196846cb4c94593.zip
Fix patch for as-needed, see comment #7 in bug #122128. Remove useless -l
directives when using readline. (Portage version: 2.1.2_pre3)
Diffstat (limited to 'dev-lang/lua/files')
-rw-r--r--dev-lang/lua/files/lua-5.0.3-asneeded.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/lua/files/lua-5.0.3-asneeded.patch b/dev-lang/lua/files/lua-5.0.3-asneeded.patch
index 71e1a10090a0..b47f2dfffeaa 100644
--- a/dev-lang/lua/files/lua-5.0.3-asneeded.patch
+++ b/dev-lang/lua/files/lua-5.0.3-asneeded.patch
@@ -5,7 +5,7 @@
so:
$(CC) $(LDFLAGS) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.o
- $(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.o
-+ $(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.o -L$(LIB) -llua $(EXTRA_LIBS) $(DLLIB)
++ $(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.o lib/liblua.so.$V $(EXTRA_LIBS) $(DLLIB)
cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so
# binaries using shared libraries