summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/mxe.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/mxe.cmake b/cmake/mxe.cmake
index 9bb38d0..2c24b1b 100644
--- a/cmake/mxe.cmake
+++ b/cmake/mxe.cmake
@@ -41,6 +41,8 @@ if((${CMAKE_CROSSCOMPILING}) AND (DEFINED MSYS))
${CMAKE_FIND_ROOT_PATH}/lib/libbz2.a
${OPENAL_MXE_LIBS}
)
+ # This fixes problem with multiple definition of `IID_IDirectSoundNotify'
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--allow-multiple-definition")
else()
set(MXE 0)
-endif() \ No newline at end of file
+endif()