mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00

this file guarantees that on hardened musl libc systems the libraries can be found by the libraries loader when build without RPATH and the custom ld config is not respected. it does require a logout to take effect but I do not know what else can be done about that. Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
7 lines
168 B
CMake
7 lines
168 B
CMake
#!/bin/sh
|
|
|
|
if [ -n "$LD_LIBRARY_PATH" ];then
|
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:@QT_LIBRARIES_PATH@"
|
|
else
|
|
export LD_LIBRARY_PATH="@QT_LIBRARIES_PATH@"
|
|
fi
|