From b39eb55d9a11f7bd1fdb9504b58897d219f1d64e Mon Sep 17 00:00:00 2001 From: Lctrs Date: Sat, 12 Mar 2022 11:23:20 +0100 Subject: [PATCH] fix(rpcs3): append llvm's paths for rpcs3-llvm to take precedence --- net.rpcs3.RPCS3.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net.rpcs3.RPCS3.yaml b/net.rpcs3.RPCS3.yaml index 0db01a1..f63be85 100644 --- a/net.rpcs3.RPCS3.yaml +++ b/net.rpcs3.RPCS3.yaml @@ -30,9 +30,6 @@ add-extensions: autodelete: false cleanup-commands: - mkdir -p ${FLATPAK_DEST}/lib/ffmpeg -build-options: - prepend-ld-library-path: /usr/lib/sdk/llvm13/lib - prepend-path: /usr/lib/sdk/llvm13/bin modules: - shared-modules/glu/glu-9.json - shared-modules/glew/glew.json @@ -127,6 +124,8 @@ modules: CXX: clang++ RANLIB: llvm-ranlib ldflags: -fuse-ld=lld + prepend-ld-library-path: /usr/lib/sdk/llvm13/lib + prepend-path: /usr/lib/sdk/llvm13/bin config-opts: - -DCMAKE_BUILD_TYPE=Release - -DBUILD_SHARED_LIBS=OFF @@ -161,6 +160,8 @@ modules: buildsystem: cmake-ninja builddir: true build-options: + append-ld-library-path: /usr/lib/sdk/llvm13/lib + append-path: /usr/lib/sdk/llvm13/bin env: AR: llvm-ar CC: clang