summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-08-31 14:06:59 +0200
committer Matteo Bernardini2018-06-09 07:42:40 +0200
commitaa4948ec945787bb10bb904a5c37bc7c1e4e4ca0 (patch)
treeef9c542ea458d175f1fe0786e6231dd81d78ff31
parent81c344443219574587ae3d6bccb8f19c1bd346af (diff)
downloadold.slackbuilds-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