From 6b66de816fe821e87722714810572a2c90fdb847 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Wed, 2 Mar 2011 15:59:39 +1100 Subject: package openal: remove libOpenAl32 link and add -luuid to pkg-config --- src/openal-1-luuid-pkg-config.patch | 17 +++++++++++++++++ src/openal.mk | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/openal-1-luuid-pkg-config.patch 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 \ -- cgit v0.12