Skip to content

Commit

Permalink
contrib: lua: remove useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
funman committed Jun 8, 2014
1 parent 735bc55 commit f6e0d93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contrib/src/lua/rules.mak
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ lua: lua-$(LUA_VERSION).tar.gz .sum-lua
$(APPLY) $(SRC)/lua/no-dylibs.patch
$(APPLY) $(SRC)/lua/luac-32bits.patch
$(APPLY) $(SRC)/lua/no-localeconv.patch
$(APPLY) $(SRC)/lua/lua-ios-support.patch
ifdef HAVE_DARWIN_OS
(cd $(UNPACK_DIR) && \
sed -e 's%gcc%$(CC)%' \
-e 's%LDFLAGS=%LDFLAGS=$(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)%' \
-i.orig src/Makefile)
endif
ifdef HAVE_IOS
$(APPLY) $(SRC)/lua/lua-ios-support.patch
endif
ifdef HAVE_WIN32
cd $(UNPACK_DIR) && sed -i.orig -e 's/lua luac/lua.exe luac.exe/' Makefile
endif
Expand Down

0 comments on commit f6e0d93

Please sign in to comment.