aports/community/ldc/no-redundant-rpath.patch
Celeste e96808a319 community/ldc: build with same clang/llvm version & use lld as default linker
also, add timeout as some tests may occasionally hang on the x86_64 builder,
fix redundant rpath in aports built with ldc2, and move config to
/etc/ldc/ldc2.conf which has the lowest search priority
2025-05-30 12:39:15 +00:00

14 lines
435 B
Diff

CMake replaces @SHARED_LIBS_INSTALL_RPATH@ with /usr/lib, causing
abuild to warn about D aports having redundant /usr/lib in rpath.
--- a/ldc2_install.conf.in
+++ b/ldc2_install.conf.in
@@ -29,7 +29,7 @@ default:
"@CMAKE_INSTALL_LIBDIR@",@OPTIONAL_COMPILER_RT_DIR@
];
// default rpath when linking against the shared default libs
- rpath = "@SHARED_LIBS_INSTALL_RPATH@";
+ rpath = "";
};
"^wasm(32|64)-":