Fix linker -no-pie flag *again* (broken by b5d17121)

This commit is contained in:
Tamás Bálint Misius 2021-11-13 06:37:54 +01:00
parent 8c80dca91b
commit 51b8b0bf38
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -206,7 +206,7 @@ else
'-D_UNICODE',
]
if uopt_static != 'none'
project_link_args = [ '-static', '-static-libgcc', '-static-libstdc++' ]
project_link_args += [ '-static', '-static-libgcc', '-static-libstdc++' ]
endif
endif
if not get_option('debug')
@ -246,7 +246,7 @@ if copt_platform == 'win'
endif
elif copt_platform == 'lin'
if uopt_static != 'none'
project_link_args = [ '-static-libgcc', '-static-libstdc++' ]
project_link_args += [ '-static-libgcc', '-static-libstdc++' ]
endif
endif