Skip to content
Snippets Groups Projects
Commit 72694ce2 authored by MichelJuillard's avatar MichelJuillard
Browse files

simplify src/meson.build

parent c11e3764
No related branches found
No related tags found
No related merge requests found
......@@ -63,18 +63,7 @@ preprocessor_src = [ 'ComputingTasks.cc',
'macro/Expressions.cc',
'macro/Directives.cc' ]
if get_option('prefer_static')
preprocessor_link_args = [ '-static-libgcc', '-static-libstdc++' ]
if host_machine.system() == 'windows'
# See comment in rules for MEX files
preprocessor_link_args += [ '-Wl,-Bstatic', '-lssp', '-Wl,-Bdynamic',
'-Wl,-Bstatic,--whole-archive', '-lwinpthread', '-Wl,-Bdynamic,--no-whole-archive' ]
endif
else
preprocessor_link_args = []
endif
executable('dynare-preprocessor', preprocessor_src, flex_src, flexlexer_h, bison_src,
include_directories : preprocessor_incdir, dependencies : boost_dep,
link_args : preprocessor_link_args,
link_args : [],
install : true)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment