diff options
author | Tony Theodore <tonyt@logyst.com> | 2011-03-02 04:59:39 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2011-03-02 04:59:39 (GMT) |
commit | 6b66de816fe821e87722714810572a2c90fdb847 (patch) | |
tree | 8dd08618135b70527031c629efd25d85a91ee70c | |
parent | 37a30d95f9a55feb69fb44ba33c8deb6a698d5b0 (diff) | |
download | mxe-6b66de816fe821e87722714810572a2c90fdb847.zip mxe-6b66de816fe821e87722714810572a2c90fdb847.tar.gz mxe-6b66de816fe821e87722714810572a2c90fdb847.tar.bz2 |
package openal: remove libOpenAl32 link and add -luuid to pkg-config
-rw-r--r-- | src/openal-1-luuid-pkg-config.patch | 17 | ||||
-rw-r--r-- | src/openal.mk | 1 |
2 files changed, 17 insertions, 1 deletions
diff --git a/src/openal-1-luuid-pkg-config.patch b/src/openal-1-luuid-pkg-config.patch new file mode 100644 index 0000000..714a4b4 --- /dev/null +++ b/src/openal-1-luuid-pkg-config.patch @@ -0,0 +1,17 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +This patch has been taken from: + + +diff -ur openal-soft-1.13.orig/CMakeLists.txt openal-soft-1.13/CMakeLists.txt +--- openal-soft-1.13.orig/CMakeLists.txt 2011-02-16 07:05:40.000000000 +1100 ++++ openal-soft-1.13/CMakeLists.txt 2011-03-02 15:40:02.000000000 +1100 +@@ -393,6 +393,7 @@ + SET(BACKENDS "${BACKENDS} DirectSound \(linked\),") + SET(EXTRA_LIBS dsound ${EXTRA_LIBS}) + ENDIF() ++ SET(PKG_CONFIG_LIBS "${PKG_CONFIG_LIBS} -luuid") + ENDIF() + ENDIF() + ENDIF() diff --git a/src/openal.mk b/src/openal.mk index 860b59a..33d1410 100644 --- a/src/openal.mk +++ b/src/openal.mk @@ -34,7 +34,6 @@ define $(PKG)_BUILD -DCMAKE_BUILD_TYPE=Release \ -DLIBTYPE=STATIC $(MAKE) -C '$(1)/build' -j '$(JOBS)' install - ln -sf '$(PREFIX)/$(TARGET)/lib/OpenAL32.a' '$(PREFIX)/$(TARGET)/lib/libOpenAL32.a' '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ |