diff options
author | Nicolas Thill <nico@openwrt.org> | 2008-11-11 02:48:31 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2008-11-11 02:48:31 +0000 |
commit | d186cdbfd092d62bc6137b53e7a2cfeeb4afb951 (patch) | |
tree | c91ec5ffeb81ca9661dac784a86727321e29d8d7 /package/lua/patches/020-shared_liblua.patch | |
parent | 0a11abc83d25af97083cd398d6c9dbe3b50b7c08 (diff) | |
download | master-31e0f0ae-d186cdbfd092d62bc6137b53e7a2cfeeb4afb951.tar.gz master-31e0f0ae-d186cdbfd092d62bc6137b53e7a2cfeeb4afb951.tar.bz2 master-31e0f0ae-d186cdbfd092d62bc6137b53e7a2cfeeb4afb951.zip |
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
Diffstat (limited to 'package/lua/patches/020-shared_liblua.patch')
-rw-r--r-- | package/lua/patches/020-shared_liblua.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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) |