lua-lpeg/0001-inject-ldflags.patch

11 lines
343 B
Diff
Raw Permalink Normal View History

--- lpeg-1.0.2/makefile 2019-10-24 10:24:58.012896992 +0200
+++ lpeg-1.0.2/makefile 2019-10-24 10:25:38.698367119 +0200
@@ -36,7 +36,7 @@
$(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
lpeg.so: $(FILES)
- env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so
+ env $(CC) $(DLLFLAGS) $(LDFLAGS) $(FILES) -o lpeg.so
$(FILES): makefile