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