summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-08-20 04:58:19 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-08-20 04:58:19 (GMT)
commitecf006ce9e3e6f7128c94ec55908fb0a1490de38 (patch)
treeb1a880600a6dfa45e16e345efa5c4095f1db7b02 /src
parentdfda78cb80315c6e99276af4fde928790d47d52f (diff)
downloadmxe-ecf006ce9e3e6f7128c94ec55908fb0a1490de38.zip
mxe-ecf006ce9e3e6f7128c94ec55908fb0a1490de38.tar.gz
mxe-ecf006ce9e3e6f7128c94ec55908fb0a1490de38.tar.bz2
openal: fix BUILD_SHARED variable
Diffstat (limited to 'src')
-rw-r--r--src/openal.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openal.mk b/src/openal.mk
index ee2f029..e42c006 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=$(if BUILD_SHARED,SHARED,STATIC) \
+ -DLIBTYPE=$(if $(BUILD_SHARED),SHARED,STATIC) \
-DEXAMPLES=FALSE
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install
@@ -29,4 +29,3 @@ define $(PKG)_BUILD
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-openal.exe' \
`'$(TARGET)-pkg-config' openal --cflags --libs`
endef
-