summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-08-31 14:06:59 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 22:56:43 -0500
commitad634d14d47aac0897a1b7d96b3f912580b8dba1 (patch)
tree655bdb9bba6cdb098e1de9708e444acf9c0191ea /development
parentb61145a4deae935daa9f0510e93726e484ae8d00 (diff)
downloadslackbuilds-ad634d14d47aac0897a1b7d96b3f912580b8dba1.tar.gz
development/MySQL-python: Add a fix for mariadb >= 10.2.8.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development')
-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