From d186cdbfd092d62bc6137b53e7a2cfeeb4afb951 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Tue, 11 Nov 2008 02:48:31 +0000 Subject: lua changes: - fix shared lib generation - don't ship liblua.so dev lib in liblua package - remove unsupported 'all' make target during build - misc cleanup - bump release number SVN-Revision: 13179 --- package/lua/patches/020-shared_liblua.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/lua/patches/020-shared_liblua.patch') diff --git a/package/lua/patches/020-shared_liblua.patch b/package/lua/patches/020-shared_liblua.patch index d948841b8a..cb7940f7ee 100644 --- a/package/lua/patches/020-shared_liblua.patch +++ b/package/lua/patches/020-shared_liblua.patch @@ -129,7 +129,7 @@ Index: lua-5.1.4/src/Makefile -$(LUA_T): $(LUA_O) $(LUA_A) - $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) +$(LUA_SO): $(CORE_O) $(LIB_O) -+ $(CC) -o $@.$(PKG_VERSION) -shared -soname="$@.$(PKG_VERSION)" $? -nostdlib -lgcc ++ $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $? + ln -fs $@.$(PKG_VERSION) $@ + +$(LUA_T): $(LUA_O) $(LUA_SO) -- cgit v1.2.3