Fix linker -no-pie flag *again* (broken by b5d17121
)
This commit is contained in:
parent
8c80dca91b
commit
51b8b0bf38
@ -206,7 +206,7 @@ else
|
|||||||
'-D_UNICODE',
|
'-D_UNICODE',
|
||||||
]
|
]
|
||||||
if uopt_static != 'none'
|
if uopt_static != 'none'
|
||||||
project_link_args = [ '-static', '-static-libgcc', '-static-libstdc++' ]
|
project_link_args += [ '-static', '-static-libgcc', '-static-libstdc++' ]
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if not get_option('debug')
|
if not get_option('debug')
|
||||||
@ -246,7 +246,7 @@ if copt_platform == 'win'
|
|||||||
endif
|
endif
|
||||||
elif copt_platform == 'lin'
|
elif copt_platform == 'lin'
|
||||||
if uopt_static != 'none'
|
if uopt_static != 'none'
|
||||||
project_link_args = [ '-static-libgcc', '-static-libstdc++' ]
|
project_link_args += [ '-static-libgcc', '-static-libstdc++' ]
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user