summaryrefslogtreecommitdiffstats
path: root/src/openal-3-pkgconfig-winmm.patch
blob: 87c355234c6d660ceca23ca9bb9766ff5066bea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This file is part of mingw-cross-env.
See doc/index.html for further information.

This patch has been taken from:
http://opensource.creative.com/pipermail/openal-devel/2010-November/005759.html

diff -r 37cec05f2c93 CMakeLists.txt
--- a/CMakeLists.txt	Sun Nov 28 20:53:45 2010 +0100
+++ b/CMakeLists.txt	Sun Nov 28 21:24:44 2010 +0100
@@ -376,6 +376,7 @@
                 SET(BACKENDS  "${BACKENDS} WinMM,")
 
                 SET(EXTRA_LIBS winmm ${EXTRA_LIBS})
+                SET(PKG_CONFIG_LIBS ${PKG_CONFIG_LIBS} -lwinmm)
             ENDIF()
         ENDIF()
     ENDIF()