gis/tangogps: Fix build on 15.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-02-19 21:15:55 +13:00 committed by Willy Sudiarto Raharjo
parent f35f54a437
commit 95e7b2efb4
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -7,7 +7,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tangogps
VERSION=${VERSION:-0.99.4}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -67,7 +67,7 @@ sed -i "s|^#include\ <glib/.*||" src/map_management.c
sed -i "s|^#include\ <curl/types\.h>||" \
src/tile_management.c src/util.h src/friends.c
LDFLAGS="-lm" \
LDFLAGS="-Wl,--allow-multiple-definition,-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \