@@ -14,7 +14,7 @@ sleef_configure = run_command([
1414 ' -B' , meson .current_build_dir() / sleef_build_dir,
1515 ' -DCMAKE_BUILD_TYPE=Release' ,
1616 ' -DSLEEF_BUILD_QUAD=ON' ,
17- ' -DSLEEF_BUILD_SHARED_LIBS=ON ' ,
17+ ' -DBUILD_SHARED_LIBS=OFF ' ,
1818 ' -DSLEEF_BUILD_TESTS=OFF' ,
1919 ' -DSLEEF_BUILD_INLINE_HEADERS=OFF' ,
2020 ' -DCMAKE_POSITION_INDEPENDENT_CODE=ON' ,
@@ -45,11 +45,11 @@ sleef_build_dep = declare_dependency(sources: [sleef_build_target])
4545sleef_dep = declare_dependency (
4646 dependencies : [sleef_build_dep], # Ensures build happens first
4747 compile_args : [' -I' + sleef_include_path],
48- link_args : [' -L' + sleef_lib_path, ' -lsleef' , ' -Wl,-rpath, ' + sleef_lib_path ]
48+ link_args : [' -L' + sleef_lib_path, ' -lsleef' ]
4949)
5050
5151sleefquad_dep = declare_dependency (
5252 dependencies : [sleef_build_dep], # Ensures build happens first
5353 compile_args : [' -I' + sleef_include_path],
54- link_args : [' -L' + sleef_lib_path, ' -lsleefquad' , ' -Wl,-rpath, ' + sleef_lib_path ]
54+ link_args : [' -L' + sleef_lib_path, ' -lsleefquad' ]
5555)
0 commit comments