diff options
author | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
commit | 739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch) | |
tree | 09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /extra/lua-lpeg/build-static-lib.patch | |
parent | 4c585ad54388285500fd18a6aaa516894e0f2c16 (diff) |
moved everything to new file formatting
Diffstat (limited to 'extra/lua-lpeg/build-static-lib.patch')
-rw-r--r-- | extra/lua-lpeg/build-static-lib.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/extra/lua-lpeg/build-static-lib.patch b/extra/lua-lpeg/build-static-lib.patch deleted file mode 100644 index d8a8f8c..0000000 --- a/extra/lua-lpeg/build-static-lib.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/makefile -+++ b/makefile -@@ -24,12 +24,15 @@ - - CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC - CC = gcc -+AR = ar -+RANLIB = ranlib - - FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o - - # For Linux - linux: - $(MAKE) lpeg.so "DLLFLAGS = -shared -fPIC" -+ $(MAKE) lpeg.a - - # For Mac OS - macosx: -@@ -37,6 +40,10 @@ - - lpeg.so: $(FILES) - env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so -+ -+lpeg.a: $(FILES) -+ env $(AR) rc lpeg.a $(FILES) -+ env $(RANLIB) lpeg.a - - $(FILES): makefile - |