summarylogtreecommitdiffstats
path: root/detect_guichan.patch
blob: a270f88d975b261a6917034ec786a4b7a2142277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -Naur a/SConstruct b/SConstruct
--- a/SConstruct	2015-10-15 08:58:20.294122327 +0800
+++ b/SConstruct	2015-10-15 09:27:37.987236466 +0800
@@ -272,8 +272,10 @@
   CheckForSystemLibrary(config, library_dict, subcomponents)
 
 if not config.CheckGuichan():
-  print "(Using included copy of guichan)"
-  subcomponents.append("guichan")
+  #print "(Using included copy of guichan)"
+  print "(Somehow guichan is not detected, include anyway.)"
+  #subcomponents.append("guichan")
+  env.Append(LIBS = ['guichan', 'guichan_opengl', 'guichan_sdl'])
 
 # Get the configuration from sdl and freetype
 env.ParseConfig("sdl-config --cflags")