mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 08:20:27 +00:00
Merge pull request #660 from ffontaine/master
meson.build: fix static build
This commit is contained in:
commit
d9419ef994
@ -33,7 +33,7 @@ dl_dep = cc.find_library('dl', required : false)
|
|||||||
thread_dep = dependency('threads')
|
thread_dep = dependency('threads')
|
||||||
|
|
||||||
# Link options
|
# Link options
|
||||||
if build_machine.system() != 'windows'
|
if get_option('default_library') != 'static' and build_machine.system() != 'windows'
|
||||||
add_project_link_arguments('-rdynamic', language : 'c')
|
add_project_link_arguments('-rdynamic', language : 'c')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user