I have a link error /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -msse4.1 -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -o gdtopng gdtopng.o ./libgd.la -ljpeg -lfontconfig -lfreetype -lpng14 -lm gdparttopng.o: In function `main': gdparttopng.c:(.text+0xc1): undefined reference to `gdImageCreateFromGd2Part' collect2: ld returned 1 exit status This is with USE=-zlib. If I build with USE=zlib then it builds fine.
1) Please post your `emerge --info' too. 2) Please attach the entire build log.
Created attachment 269869 [details] build.log
Created attachment 269871 [details] emerge --info
seems like splitting the flags was not a good idea...
not really. gd will always fail if zlib isnt installed. the new ebuild simply fixes the automagic dependency on it. http://sources.gentoo.org/media-libs/gd/gd-2.0.35-r3.ebuild?r1=1.1&r2=1.2