summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-08-31 14:06:59 +0200
committer Matteo Bernardini2021-02-27 08:20:47 +0100
commitc09f0013903fa1dcba78a2dc56a4908ef2d91307 (patch)
tree571862c7877cea55781ce5c533933d7a4ee5612d
parent9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff)
downloadslackbuilds-MySQL-python.tar.gz
development/MySQL-python: Add a fix for mariadb >= 10.2.8.MySQL-python
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--development/MySQL-python/MySQL-python.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/MySQL-python/MySQL-python.SlackBuild b/development/MySQL-python/MySQL-python.SlackBuild
index c367b99dc9..cc212f17be 100644
--- a/development/MySQL-python/MySQL-python.SlackBuild
+++ b/development/MySQL-python/MySQL-python.SlackBuild
@@ -57,7 +57,7 @@ patch -p1 < $CWD/patches/no_distribute_download.patch
# Include my_config.h first
patch -p1 < $CWD/patches/MySQL-python-1.2.4-include-my_config-first.patch
-python setup.py install --root=$PKG
+CPPFLAGS="-I/usr/include/mysql/server" python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true