[tools/cmake] fix the issue of the missing link flags added in Sconscript (#8957)

This commit is contained in:
Astrozen 2024-05-21 08:58:26 +08:00 committed by GitHub
parent e82c53559b
commit ce913b95c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def GenerateCFiles(env,project):
else:
CXXFLAGS = CFLAGS
AFLAGS = rtconfig.AFLAGS.replace('\\', "/").replace('\"', "\\\"")
LFLAGS = rtconfig.LFLAGS.replace('\\', "/").replace('\"', "\\\"")
LFLAGS = env['LINKFLAGS'].replace('\\', "/").replace('\"', "\\\"")
if "win32" in sys.platform:
CC += ".exe"