File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,17 +148,13 @@ if env["platform"] == "macos":
148148 )
149149else :
150150 ios_sim_suffix = ".simulator" if env ["platform" ] == "ios" and env .get ("ios_simulator" , False ) else ""
151- target = "{}{}{}" .format (
151+ target = "{}{}{}{} " .format (
152152 target ,
153153 env ["arch" ],
154- ios_sim_suffix
154+ ios_sim_suffix ,
155+ env ["SHLIBSUFFIX" ]
155156 )
156- # On Windows, SCons rejects target names whose suffix doesn't match SHLIBSUFFIX (.dll).
157- # Appending the suffix explicitly and clearing SHLIBSUFFIX prevents the double-suffix error.
158- if env ["platform" ] == "windows" :
159- target = target + env ["SHLIBSUFFIX" ]
160- env ["SHLIBSUFFIX" ] = ""
161- target_out = target + env ["SHLIBSUFFIX" ]
157+ target_out = target
162158
163159library = env .SharedLibrary (target = target , source = sources )
164160
You can’t perform that action at this time.
0 commit comments