diff options
Diffstat (limited to 'dev-lang/lua/files/lua-5.0.3-ldflags.patch')
-rw-r--r-- | dev-lang/lua/files/lua-5.0.3-ldflags.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-lang/lua/files/lua-5.0.3-ldflags.patch b/dev-lang/lua/files/lua-5.0.3-ldflags.patch index 5bb3dad7ea97..f01b0ff1b43a 100644 --- a/dev-lang/lua/files/lua-5.0.3-ldflags.patch +++ b/dev-lang/lua/files/lua-5.0.3-ldflags.patch @@ -4,10 +4,10 @@ # shared libraries (for Linux) so: -- $(CC) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.o -- $(CC) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.o -+ $(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) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.lo +- $(CC) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo ++ $(CC) $(LDFLAGS) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.lo ++ $(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so # binaries using shared libraries |