summaryrefslogtreecommitdiffstats
path: root/plugins/soundsourcem4a/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/soundsourcem4a/SConscript')
-rw-r--r--plugins/soundsourcem4a/SConscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/soundsourcem4a/SConscript b/plugins/soundsourcem4a/SConscript
index 5b0c006d25..32ffeb1118 100644
--- a/plugins/soundsourcem4a/SConscript
+++ b/plugins/soundsourcem4a/SConscript
@@ -53,7 +53,11 @@ if int(build.flags['faad']):
SHLIBPREFIX='lib' #Makes the filename "libsoundsourcem4a" consistently across platforms to make our lives easier.
if build.platform_is_windows:
env["LINKFLAGS"].remove("/entry:mainCRTStartup")
- env["LINKFLAGS"].remove("/subsystem:windows")
+ # TODO(rryan): Why do we do this?
+ if build.machine_is_64bit:
+ env["LINKFLAGS"].remove("/subsystem:windows,5.02")
+ else:
+ env["LINKFLAGS"].remove("/subsystem:windows,5.01")
ssm4a_bin = env.SharedLibrary('soundsourcem4a', m4a_sources, LINKCOM = [env['LINKCOM'], 'mt.exe -nologo -manifest ${TARGET}.manifest -outputresource:$TARGET;1'])
else:
ssm4a_bin = env.SharedLibrary('soundsourcem4a', m4a_sources)