summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openal-1-luuid-pkg-config.patch17
-rw-r--r--src/openal.mk1
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 \