summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gis/pyspatialite/pyspatialite.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/gis/pyspatialite/pyspatialite.SlackBuild b/gis/pyspatialite/pyspatialite.SlackBuild
index f43bc6cbe4..c51c0a76df 100644
--- a/gis/pyspatialite/pyspatialite.SlackBuild
+++ b/gis/pyspatialite/pyspatialite.SlackBuild
@@ -70,6 +70,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sed -i '/^#include "sqlite3.h"$/d' src/{statement,util}.h
CFLAGS=-I/usr/include python setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \