From 6202f1358b5e60b3aa5b8a5d9ede35f4600ab2e4 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Sun, 22 Jan 2017 14:54:51 -0800 Subject: gis/pyspatialite: Fix build. Signed-off-by: Benjamin Trigona-Harany --- gis/pyspatialite/pyspatialite.SlackBuild | 1 + 1 file changed, 1 insertion(+) (limited to 'gis/pyspatialite') 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 \ -- cgit v1.2.3