summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-08-16 18:25:22 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-08-16 18:25:22 (GMT)
commit945e86770705119f052b7f404a909e5b84b79dc4 (patch)
tree7869a66fd776c365e64fe505d808a23c906b0373
parent449b6bbc3ac502463bd70057dfc457e4e433090e (diff)
parent4b889f64d774c1a7a8fca11c3c11826b0459f7b2 (diff)
downloadmxe-945e86770705119f052b7f404a909e5b84b79dc4.zip
mxe-945e86770705119f052b7f404a909e5b84b79dc4.tar.gz
mxe-945e86770705119f052b7f404a909e5b84b79dc4.tar.bz2
Merge pull request #455 from abma/master
enable openal shared compile
-rw-r--r--src/openal.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openal.mk b/src/openal.mk
index ae34a76..ee2f029 100644
--- a/src/openal.mk
+++ b/src/openal.mk
@@ -20,7 +20,7 @@ endef
define $(PKG)_BUILD
cd '$(1)/build' && cmake .. \
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
- -DLIBTYPE=STATIC \
+ -DLIBTYPE=$(if BUILD_SHARED,SHARED,STATIC) \
-DEXAMPLES=FALSE
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install
@@ -30,4 +30,3 @@ define $(PKG)_BUILD
`'$(TARGET)-pkg-config' openal --cflags --libs`
endef
-$(PKG)_BUILD_SHARED =