1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-22 04:34:10 +00:00

Merge pull request #660 from ffontaine/master

meson.build: fix static build
This commit is contained in:
Calvin Rose
2021-03-12 19:06:33 -06:00
committed by GitHub

View File

@@ -33,7 +33,7 @@ dl_dep = cc.find_library('dl', required : false)
thread_dep = dependency('threads')
# 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')
endif