scripts: 5-bundle.sh: Set rpath with patchelf
As an alternative to LD_LIBRARY_PATH.
Šī revīzija ir iekļauta:
vecāks
08730b1e09
revīzija
8e680e01cd
@ -9,5 +9,11 @@ cp src/looqs-gui ${DIRNAME}
|
|||||||
cp src/looqs ${DIRNAME}
|
cp src/looqs ${DIRNAME}
|
||||||
chmod 755 src/looqs-gui
|
chmod 755 src/looqs-gui
|
||||||
chmod 755 src/looqs
|
chmod 755 src/looqs
|
||||||
|
|
||||||
|
patchelf --set-rpath '$ORIGIN/../lib/' ${DIRNAME}/bin/*
|
||||||
|
patchelf --set-rpath '$ORIGIN' ${DIRNAME}/lib/*.so*
|
||||||
|
patchelf --set-rpath '$ORIGIN/../../' $( find "${DIRNAME}/lib/plugins/" | grep so$ )
|
||||||
|
|
||||||
|
|
||||||
tar cfpvJ "${DIRNAME}".tar.xz "${DIRNAME}"
|
tar cfpvJ "${DIRNAME}".tar.xz "${DIRNAME}"
|
||||||
gpg -b --local-user "$SIGNING_KEY_EMAIL" "$ARCHIVENAME"
|
gpg -b --local-user "$SIGNING_KEY_EMAIL" "$ARCHIVENAME"
|
||||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user