changeset 1610:e44bc1b29e0c

package openal: remove libOpenAl32 link and add -luuid to pkg-config
author Tony Theodore <tonyt@logyst.com>
date Wed, 02 Mar 2011 15:59:39 +1100
parents 2fac12e1abc5
children 7b1b796a871f
files src/openal-1-luuid-pkg-config.patch src/openal.mk
diffstat 2 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/openal-1-luuid-pkg-config.patch	Wed Mar 02 15:59:39 2011 +1100
@@ -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()
--- a/src/openal.mk	Tue Mar 01 16:35:03 2011 +0100
+++ b/src/openal.mk	Wed Mar 02 15:59:39 2011 +1100
@@ -34,7 +34,6 @@
         -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 \