openwrt-packages/multimedia/imagemagick
Eneas U de Queiroz 26fd0cbac9
imagemagick: copy *-config files to staging dir
We need to copy MagickWand-config, which handles pkg-config data, to the
staging dir, so that dependent packages can use it.  php7-pecl-imagick,
for example, may otherwise use an eventual host-installed file, causing
compilation to fail.  There's also a MagickCore-config file that does
the same thing for the MagickCore library, so a *-config wilcard is used
to handle all cases.

Since configure is called with --prefix=/usr, use $(SED) to change
definition of prefix and exec_prefix lines in *-config from /usr to
$(STAGING_DIR)/usr.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-02-28 22:30:08 -03:00
..
Makefile imagemagick: copy *-config files to staging dir 2021-02-28 22:30:08 -03:00