Skip to content

Commit

Permalink
luajit: add dependency dlfcn-win32
Browse files Browse the repository at this point in the history
luajit.pc contains: Libs.private: -Wl,-E -lm -ldl
while the luajit website states that dlopen is only required on linux,
adding dlfcn-win32 as a dependency is probably safer for MXE than removing -ldl
especially since MXE supports dlfcn-win32 and projects which use luajit.pc are
satisfied when dlfcn-win32 was built, but not satisfied otherwise.
  • Loading branch information
avih committed Feb 18, 2015
1 parent aef1d57 commit 96a4540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luajit.mk
Expand Up @@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 2db39e7d1264918c2266b0436c313fbd12da4ceb
$(PKG)_SUBDIR := LuaJIT-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL := http://luajit.org/download/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
$(PKG)_DEPS := gcc dlfcn-win32

define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j '$(JOBS)' \
Expand Down

0 comments on commit 96a4540

Please sign in to comment.