Skip to content

Commit

Permalink
chroot-fixups/qt5-core-abi.sh: make libQt5Core.so.5 load on el7 kernel
Browse files Browse the repository at this point in the history
... by stripping an incompatible ABI note as suggested here:

microsoft/WSL#3023
  • Loading branch information
kdudka committed Jun 27, 2018
1 parent a872c60 commit 96a4a75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/chroot-fixups/qt5-core-abi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

if [ -x /usr/lib64/libQt5Core.so.5 ]; then
(set -x; strip --remove-section=.note.ABI-tag /usr/lib64/libQt5Core.so.5)
fi

0 comments on commit 96a4a75

Please sign in to comment.