diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-09-19 15:40:20 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-09-19 15:41:14 +0200 |
commit | 7827b0f2ea76b96215bbd813db9f6e1aafe11758 (patch) | |
tree | 1c25b817e70797143a1aff9284699388fe23e0b0 /crawl-ref/source/Makefile | |
parent | 27b31c86dba631a28ef0b8a8ec82fd153dd2104c (diff) | |
download | crawl-ref-7827b0f2ea76b96215bbd813db9f6e1aafe11758.tar.gz crawl-ref-7827b0f2ea76b96215bbd813db9f6e1aafe11758.zip |
Force contrib lua if pkg-config is not installed.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r-- | crawl-ref/source/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile index 2e620e0798..1281aedadf 100644 --- a/crawl-ref/source/Makefile +++ b/crawl-ref/source/Makefile @@ -547,6 +547,12 @@ ifdef ANDROID BUILD_FREETYPE= NO_PKGCONFIG=Y else + +ifndef BUILD_LUA + ifdef NO_PKGCONFIG + BUILD_LUA = yes + endif +endif ifndef BUILD_LUA ifneq ($(shell $(PKGCONFIG) lua5.1 --exists || echo no),) ifneq ($(shell $(PKGCONFIG) lua --exists || echo no),) |