e16eeb0094
to libclang-cpp.so similar to libLLVM.so. This is required when multiple versions of the library are loaded into the same process. (boo#1219405, boo#1221183, boo#1233220) - Require libffi when we build openmp for offloading. - Correct target name for libomptarget in file list. - Update llvm16.keyring from upstream. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm16?expand=0&rev=38
18 lines
726 B
Diff
18 lines
726 B
Diff
diff --git a/libcxx/test/configs/llvm-libc++-shared.cfg.in b/libcxx/test/configs/llvm-libc++-shared.cfg.in
|
|
index 7228c7e8d467..9835a012c1de 100644
|
|
--- a/libcxx/test/configs/llvm-libc++-shared.cfg.in
|
|
+++ b/libcxx/test/configs/llvm-libc++-shared.cfg.in
|
|
@@ -10,10 +10,10 @@ config.substitutions.append(('%{compile_flags}',
|
|
'-nostdinc++ -I %{include} -I %{target-include} -I %{libcxx}/test/support'
|
|
))
|
|
config.substitutions.append(('%{link_flags}',
|
|
- '-nostdlib++ -L %{lib} -Wl,-rpath,%{lib} -lc++ -pthread'
|
|
+ '-nostdlib++ -L %{lib} -lc++ -pthread'
|
|
))
|
|
config.substitutions.append(('%{exec}',
|
|
- '%{executor} --execdir %T -- '
|
|
+ '%{executor} --execdir %T --env LD_LIBRARY_PATH=%{lib} -- '
|
|
))
|
|
|
|
import os, site
|