package openal: remove libOpenAl32 link and add -luuid to pkg-config

This commit is contained in:
Tony Theodore 2011-03-02 15:59:39 +11:00
parent 37a30d95f9
commit 6b66de816f
2 changed files with 17 additions and 1 deletions

View File

@ -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()

View File

@ -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 \