summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-25 14:06:15 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-25 14:06:15 (GMT)
commiteb7eaa7b9ec2da19b82ec2ce5197b1c6aa4b1025 (patch)
tree9227cbb98a99ae492a7ed36cfb963fcbb51fd59d /Makefile
parent1d98e6fa524288e508baf3de4e24cecf506f58b2 (diff)
downloadmxe-eb7eaa7b9ec2da19b82ec2ce5197b1c6aa4b1025.zip
mxe-eb7eaa7b9ec2da19b82ec2ce5197b1c6aa4b1025.tar.gz
mxe-eb7eaa7b9ec2da19b82ec2ce5197b1c6aa4b1025.tar.bz2
Makefile: add cmake shared/static boolean variables
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b0acd09..791c9d8 100644
--- a/Makefile
+++ b/Makefile
@@ -407,6 +407,8 @@ build-only-$(1)_$(3): LIB_SUFFIX = $(if $(findstring shared,$(3)),dll,a)
build-only-$(1)_$(3): BITS = $(if $(findstring x86_64,$(3)),64,32)
build-only-$(1)_$(3): CMAKE_TOOLCHAIN_FILE = $(PREFIX)/$(3)/share/cmake/mxe-conf.cmake
build-only-$(1)_$(3): CMAKE_TOOLCHAIN_DIR = $(PREFIX)/$(3)/share/cmake/mxe-conf.d
+build-only-$(1)_$(3): CMAKE_STATIC_BOOL = $(if $(findstring shared,$(3)),OFF,ON)
+build-only-$(1)_$(3): CMAKE_SHARED_BOOL = $(if $(findstring shared,$(3)),ON,OFF)
build-only-$(1)_$(3):
$(if $(value $(call LOOKUP_PKG_RULE,$(1),BUILD,$(3))),
uname -a