@@ -14,7 +14,7 @@ sleef_configure = run_command([
14
14
' -B' , meson .current_build_dir() / sleef_build_dir,
15
15
' -DCMAKE_BUILD_TYPE=Release' ,
16
16
' -DSLEEF_BUILD_QUAD=ON' ,
17
- ' -DSLEEF_BUILD_SHARED_LIBS=ON ' ,
17
+ ' -DBUILD_SHARED_LIBS=OFF ' ,
18
18
' -DSLEEF_BUILD_TESTS=OFF' ,
19
19
' -DSLEEF_BUILD_INLINE_HEADERS=OFF' ,
20
20
' -DCMAKE_POSITION_INDEPENDENT_CODE=ON' ,
@@ -45,11 +45,11 @@ sleef_build_dep = declare_dependency(sources: [sleef_build_target])
45
45
sleef_dep = declare_dependency (
46
46
dependencies : [sleef_build_dep], # Ensures build happens first
47
47
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' ]
49
49
)
50
50
51
51
sleefquad_dep = declare_dependency (
52
52
dependencies : [sleef_build_dep], # Ensures build happens first
53
53
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' ]
55
55
)
0 commit comments