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
This commit is contained in:
Nicolas Thill
2008-11-11 02:48:31 +00:00
parent 0a11abc83d
commit d186cdbfd0
2 changed files with 6 additions and 10 deletions

View File

@@ -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)