Skip to content

Commit

Permalink
Linux build: Avoid breaking SSL certificates on host system
Browse files Browse the repository at this point in the history
  • Loading branch information
morevnaproject authored and blackwarthog committed Jan 13, 2017
1 parent 93e446b commit 4295270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autobuild/fedora-crosscompile-linux.sh
Expand Up @@ -387,7 +387,7 @@ fi
for CHECKPATH in ${SYSPREFIX} ${SYSPREFIX}/usr/lib ${SYSPREFIX}/bin; do
for LINK in `find -L ${CHECKPATH} -xtype l`; do
LINK_TARGET=`readlink "$LINK"`
if [[ ${LINK_TARGET::1} == "/" ]]; then
if [[ ${LINK_TARGET::1} == "/" ]] && ! ( echo $LINK |grep ssl ); then
if [[ "${LINK_TARGET:0:${#SYSPREFIX}}" != "$SYSPREFIX" ]]; then
echo "Fixing link: $LINK ($LINK_TARGET)"
ln -sf "${SYSPREFIX}/${LINK_TARGET}" "${LINK}" || true
Expand Down

0 comments on commit 4295270

Please sign in to comment.