wok rev 19717
mtpaint: add -lpng12
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 08:23:51 2017 +0100 (2017-02-16) |
parents | aed0226fb87a |
children | 4bec62c8999a |
files | mtpaint/receipt |
line diff
1.1 --- a/mtpaint/receipt Thu Feb 16 08:12:10 2017 +0100 1.2 +++ b/mtpaint/receipt Thu Feb 16 08:23:51 2017 +0100 1.3 @@ -13,8 +13,8 @@ 1.4 WGET_URL="https://github.com/wjaguar/mtPaint/archive/$COMMIT.tar.gz" 1.5 #HOST_ARCH="i486 arm" 1.6 1.7 -DEPENDS="gtk+ libpng lcms" 1.8 -BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev zlib-dev" 1.9 +DEPENDS="gtk+ libpng lcms2" 1.10 +BUILD_DEPENDS="gtk+-dev libpng-dev lcms2-dev zlib-dev cairo-dev" 1.11 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 @@ -23,6 +23,7 @@ 1.15 sed 's/mem_undo_limit,\t32/mem_undo_limit,\t64/' -i $src/src/mainwindow.c 1.16 case "$ARCH" in 1.17 i?86) 1.18 + export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpng12" 1.19 ./configure \ 1.20 --cpu=$ARCH \ 1.21 --prefix=/usr \