Commit f6e0d93b authored by Rafaël Carré's avatar Rafaël Carré

contrib: lua: remove useless condition

parent 735bc554
...@@ -41,15 +41,13 @@ lua: lua-$(LUA_VERSION).tar.gz .sum-lua ...@@ -41,15 +41,13 @@ lua: lua-$(LUA_VERSION).tar.gz .sum-lua
$(APPLY) $(SRC)/lua/no-dylibs.patch $(APPLY) $(SRC)/lua/no-dylibs.patch
$(APPLY) $(SRC)/lua/luac-32bits.patch $(APPLY) $(SRC)/lua/luac-32bits.patch
$(APPLY) $(SRC)/lua/no-localeconv.patch $(APPLY) $(SRC)/lua/no-localeconv.patch
$(APPLY) $(SRC)/lua/lua-ios-support.patch
ifdef HAVE_DARWIN_OS ifdef HAVE_DARWIN_OS
(cd $(UNPACK_DIR) && \ (cd $(UNPACK_DIR) && \
sed -e 's%gcc%$(CC)%' \ sed -e 's%gcc%$(CC)%' \
-e 's%LDFLAGS=%LDFLAGS=$(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)%' \ -e 's%LDFLAGS=%LDFLAGS=$(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)%' \
-i.orig src/Makefile) -i.orig src/Makefile)
endif endif
ifdef HAVE_IOS
$(APPLY) $(SRC)/lua/lua-ios-support.patch
endif
ifdef HAVE_WIN32 ifdef HAVE_WIN32
cd $(UNPACK_DIR) && sed -i.orig -e 's/lua luac/lua.exe luac.exe/' Makefile cd $(UNPACK_DIR) && sed -i.orig -e 's/lua luac/lua.exe luac.exe/' Makefile
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment