summaryrefslogtreecommitdiffstats
path: root/python/python-gattlib/python-gattlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-gattlib/python-gattlib.SlackBuild')
-rw-r--r--python/python-gattlib/python-gattlib.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/python-gattlib/python-gattlib.SlackBuild b/python/python-gattlib/python-gattlib.SlackBuild
index 0264f52fc1..354003e93e 100644
--- a/python/python-gattlib/python-gattlib.SlackBuild
+++ b/python/python-gattlib/python-gattlib.SlackBuild
@@ -57,6 +57,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/dont_hardcode_python_versions.patch
+
python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \