summaryrefslogtreecommitdiffstats
path: root/src/sfml-1-fixes-crlf.patch
blob: 2de432d51ce7ede34ca9fed9a8e2330988fe9e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This file is part of MXE.
See index.html for further information.

Contains ad hoc patches for cross building.

From 4e522133482f3f37ee8f498a35294eb31738e307 Mon Sep 17 00:00:00 2001
From: MXE
Date: Sat, 6 Jul 2013 17:55:39 +1000
Subject: fix openal static


diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf5a805..78e5630 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,6 +87,7 @@
 # define SFML_STATIC if the build type is not set to 'shared'
 if(NOT BUILD_SHARED_LIBS)
     add_definitions(-DSFML_STATIC)
+    add_definitions(-DAL_LIBTYPE_STATIC)
 endif()
 
 # remove SL security warnings with Visual C++