diff options
| author | Astrozen <[email protected]> | 2024-05-21 08:58:26 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-21 08:58:26 +0800 |
| commit | ce913b95c779bf7422a9b0676e18f4608c17d47d (patch) | |
| tree | d08c6353cb54f5dbbae9d9d0921a8073a67eb868 /tools/cmake.py | |
| parent | e82c53559b6e16acb5bdc9c9c9d51c8ddf84a86d (diff) | |
[tools/cmake] fix the issue of the missing link flags added in Sconscript (#8957)
Diffstat (limited to 'tools/cmake.py')
| -rw-r--r-- | tools/cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cmake.py b/tools/cmake.py index d938f9c787..bf231d3436 100644 --- a/tools/cmake.py +++ b/tools/cmake.py @@ -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" |
