diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-09-25 14:06:15 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-09-25 14:06:15 (GMT) |
commit | eb7eaa7b9ec2da19b82ec2ce5197b1c6aa4b1025 (patch) | |
tree | 9227cbb98a99ae492a7ed36cfb963fcbb51fd59d /Makefile | |
parent | 1d98e6fa524288e508baf3de4e24cecf506f58b2 (diff) | |
download | mxe-eb7eaa7b9ec2da19b82ec2ce5197b1c6aa4b1025.zip mxe-eb7eaa7b9ec2da19b82ec2ce5197b1c6aa4b1025.tar.gz mxe-eb7eaa7b9ec2da19b82ec2ce5197b1c6aa4b1025.tar.bz2 |
Makefile: add cmake shared/static boolean variables
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |