Przeglądaj źródła

improve detection of linux, fixes #3201

Juan Linietsky 9 lat temu
rodzic
commit
78b5404434
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      platform/x11/detect.py

+ 1 - 1
platform/x11/detect.py

@@ -148,7 +148,7 @@ def configure(env):
 
 	
 	env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED'])
-	if platform.platform() == 'Linux':
+	if platform.platform().find('Linux')>=0:
 		env.Append(CPPFLAGS=["-DALSA_ENABLED"])
 		env.Append(LIBS=['asound'])