Skip to content
/ janet Public
forked from janet-lang/janet

Commit

Permalink
Merge pull request janet-lang#660 from ffontaine/master
Browse files Browse the repository at this point in the history
meson.build: fix static build
  • Loading branch information
bakpakin authored Mar 13, 2021
2 parents 7e8639a + b0f1a49 commit d9419ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d9419ef

Please sign in to comment.