Files
gentoo/dev-lua/lanes/files/lanes-4.0.0-makefile.patch
Conrad Kostecki bb7cfb161d dev-lua/lanes: add 4.0.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2026-05-14 16:04:08 +02:00

22 lines
598 B
Diff

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