summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2019-12-20 11:07:59 +0100
committer Matteo Bernardini2021-02-27 09:47:04 +0100
commit89032688d04e5f7be3e5b0e10443d77f87fd3496 (patch)
tree279d93be43e0972dab00c98bc9257fe30ebcc59b
parent9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff)
downloadslackbuilds-gdal.tar.gz
gis/gdal: Fix location of the new mariadb headers.gdal
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--gis/gdal/gdal.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index bbe278050d..36d4d0f370 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -112,6 +112,8 @@ else
WITHLIST+=" --with-jpeg=/usr/lib${LIBDIRSUFFIX}"
fi
+# The CPPFLAGS are for the newer mariadb (thanks pprkut!)
+CPPFLAGS="-I/usr/include/mysql/server" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \