Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 260008 | Differences between
and this patch

Collapse All | Expand All

(-)files/lua-5.1-make.patch (-6 / +6 lines)
Lines 49-62 Link Here
49
+$(LIB_NAME:.la=.a): $(LIB_OBJS)
50
+$(LIB_NAME:.la=.a): $(LIB_OBJS)
50
+	$(LIBTOOL) --mode=link $(CC) -static -o $(LIB_NAME:.la=.a) $(LIB_OBJS)
51
+	$(LIBTOOL) --mode=link $(CC) -static -o $(LIB_NAME:.la=.a) $(LIB_OBJS)
51
+
52
+
52
+$(LUA_T): $(LUA_O) $(LIB_NAME)
53
+$(LUA_T): $(LUA_O:.o=.lo) $(LIB_NAME)
53
+	$(LIBTOOL) --mode=link $(CC) -Wl,-E -o $@ $(LUA_O) $(LUA_LIBS) -llua
54
+	$(LIBTOOL) --mode=link $(CC) -export-dynamic -o $@ $(LUA_O:.o=.lo) $(LUA_LIBS) -llua
54
+
55
+
55
+lua_test: $(LUA_O) $(LIB_NAME)
56
+lua_test: $(LUA_O:.o=.lo) $(LIB_NAME)
56
+	$(LIBTOOL) --mode=link $(CC) -static -Wl,-E -o $@ $(LUA_O) $(LIB_NAME) $(LUA_LIBS)
57
+	$(LIBTOOL) --mode=link $(CC) -static -export-dynamic -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS)
57
+
58
+
58
+$(LUAC_T): $(LUAC_O) $(LIB_NAME)
59
+$(LUAC_T): $(LUAC_O:.o=.lo) $(LIB_NAME)
59
+	$(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O) $(LIB_NAME)
60
+	$(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O:.o=.lo) $(LIB_NAME)
60
+
61
+
61
+gentoo_clean:
62
+gentoo_clean:
62
+	$(LIBTOOL) --mode=clean $(RM) $(ALL_O:.o=.lo) $(LIB_NAME) lua luac
63
+	$(LIBTOOL) --mode=clean $(RM) $(ALL_O:.o=.lo) $(LIB_NAME) lua luac
(-)files/lua-5.1-make_static.patch (-5 / +5 lines)
Lines 4-12 Link Here
4
@@ -196,7 +196,7 @@
4
@@ -196,7 +196,7 @@
5
             -rpath $(RPATH) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
5
             -rpath $(RPATH) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
6
 
6
 
7
 $(LUA_T): $(LUA_O) $(LIB_NAME)
7
 $(LUA_T): $(LUA_O:.o=.lo) $(LIB_NAME)
8
-	$(LIBTOOL) --mode=link $(CC) -Wl,-E -o $@ $(LUA_O) $(LUA_LIBS) -llua
8
-	$(LIBTOOL) --mode=link $(CC) -export-dynamic -o $@ $(LUA_O:.o=.lo) $(LUA_LIBS) -llua
9
+	$(LIBTOOL) --mode=link $(CC) -static -Wl,-E -o $@ $(LUA_O) $(LIB_NAME) $(LUA_LIBS)
9
+	$(LIBTOOL) --mode=link $(CC) -static -export-dynamic -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS)
10
 
10
 
11
 $(LUAC_T): $(LUAC_O) $(LIB_NAME)
11
 $(LUAC_T): $(LUAC_O:.o=.lo) $(LIB_NAME)
12
 	$(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O) $(LIB_NAME)
12
 	$(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O:.o=.lo) $(LIB_NAME)

Return to bug 260008