Browse Source

improve detection of linux, fixes #3201

Juan Linietsky 9 năm trước cách đây
mục cha
commit
78b5404434
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'])