blob: 96065100997a7298a6c428a3930a0b66be66f55b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Patch provided from upstream
Add dependencies for Lua libraries to Makefile so that it can be build with multiple make jobs
https://github.com/rrze-likwid/likwid/commit/bf12653e199d6d60055982bd92b284f44197bccf
--- ext/lua/Makefile.org 2015-08-21 09:53:48.430859982 +0800
+++ ext/lua/Makefile 2015-08-21 09:51:50.905236819 +0800
@@ -42,10 +42,10 @@
$(BUILD_DIR):
@mkdir $(BUILD_DIR)
-$(STATIC_LIBLUA):
+$(STATIC_LIBLUA): $(OBJ)
$(Q)${AR} -cq $(LIBLUA) $(OBJ)
-$(SHARED_LIBLUA):
+$(SHARED_LIBLUA): $(OBJ)
$(Q)$(CC) $(LFLAGS) -Wl,-soname,$(LIBLUA).$(VERSION) -shared -fPIC -o $(LIBLUA) $(OBJ) $(LIBS)
$(INTERPRETER): $(SHARED_LIBLUA) $(BUILD_DIR)/lua.o
|