{Magick{,++},Wand}-config do not work as expected. Their output should be the necessary data to compile/link other stuff with it. They should not include the flags that were used to compile ImageMagick.
pkg-config seems to be correct:
- Code: Select all
$ pkg-config --libs ImageMagick++
-lMagick++ -lWand -lMagick
The incorrect Magick++-config:
- Code: Select all
$ Magick++-config --libs
-lMagick++ -lMagick -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread -lWand -lMagick
The same is with the cflags etc. For the reference, we also have a bug entry at the gentoo bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=153476
Markus
