graphics/gimp-wideangle-plugin: Fix build.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-04-25 10:16:54 +07:00
parent 3b0256cbf1
commit 612f7dc56c
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gimp-wideangle-plugin
VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -66,7 +66,7 @@ fi
GIMPPLUGINS=usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
mkdir -p $PKG/$GIMPPLUGINS
gcc $SLKCFLAGS \
gcc $SLKCFLAGS -lm \
$( pkg-config --cflags gimpui-2.0 gimp-2.0 gtk+-2.0 ) \
-o $PKG/$GIMPPLUGINS/$SRCNAM $SRC \
$( pkg-config --libs gimpui-2.0 gimp-2.0 gtk+-2.0 )