[tools/cmake] fix the issue of the missing link flags added in Sconscript (#8957)
This commit is contained in:
parent
e82c53559b
commit
ce913b95c7
|
@ -38,7 +38,7 @@ def GenerateCFiles(env,project):
|
||||||
else:
|
else:
|
||||||
CXXFLAGS = CFLAGS
|
CXXFLAGS = CFLAGS
|
||||||
AFLAGS = rtconfig.AFLAGS.replace('\\', "/").replace('\"', "\\\"")
|
AFLAGS = rtconfig.AFLAGS.replace('\\', "/").replace('\"', "\\\"")
|
||||||
LFLAGS = rtconfig.LFLAGS.replace('\\', "/").replace('\"', "\\\"")
|
LFLAGS = env['LINKFLAGS'].replace('\\', "/").replace('\"', "\\\"")
|
||||||
|
|
||||||
if "win32" in sys.platform:
|
if "win32" in sys.platform:
|
||||||
CC += ".exe"
|
CC += ".exe"
|
||||||
|
|
Loading…
Reference in New Issue