summaryrefslogtreecommitdiff
path: root/dev-lua/lanes/files/lanes-4.0.0-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/lanes/files/lanes-4.0.0-makefile.patch')
-rw-r--r--dev-lua/lanes/files/lanes-4.0.0-makefile.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-lua/lanes/files/lanes-4.0.0-makefile.patch b/dev-lua/lanes/files/lanes-4.0.0-makefile.patch
new file mode 100644
index 000000000000..b8ac12411824
--- /dev/null
+++ b/dev-lua/lanes/files/lanes-4.0.0-makefile.patch
@@ -0,0 +1,21 @@
+--- a/Makefile
++++ b/Makefile
+@@ -277,7 +277,6 @@
+ mkdir -p $(LUA_LIBDIR) $(LUA_SHAREDIR)
+ install -m 644 $(_LANES_TARGET) $(LUA_LIBDIR)
+ cp -p src/lanes.lua $(LUA_SHAREDIR)
+- install -m 644 $(_DUE_TARGET) $(LUA_LIBDIR)
+
+ uninstall:
+ rm $(LUA_LIBDIR)/lanes_core.$(_SO)
+--- a/src/Lanes.makefile
++++ b/src/Lanes.makefile
+@@ -29,7 +29,7 @@
+ # Note: Don't put $(LUA_LIBS) ahead of $^; MSYS will not like that (I think)
+ #
+ $(_TARGET): $(_OBJ)
+- $(CC) $(LIBFLAG) $^ $(LIBS) $(LUA_LIBS) -o $@
++ $(CC) $(LDFLAGS) $(LIBFLAG) $^ $(LIBS) $(LUA_LIBS) -o $@
+
+ clean:
+ -rm -rf $(_TARGET) *.o *.map *.gch