package/libmad: don't install .pc in target

We explicitly remove pkg-config files from target in the target-finalize
step, and our pkg-config looks for .pc files from staging, not target.

So, explicitly installing the .pc in target is useless.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yann E. MORIN 2017-09-28 20:06:21 +02:00 committed by Peter Korsgaard
parent 13945009fd
commit 37406a052e

View File

@ -23,14 +23,8 @@ define LIBMAD_INSTALL_STAGING_PC
$(STAGING_DIR)/usr/lib/pkgconfig/mad.pc
endef
define LIBMAD_INSTALL_TARGET_PC
$(INSTALL) -D package/libmad/mad.pc \
$(TARGET_DIR)/usr/lib/pkgconfig/mad.pc
endef
LIBMAD_POST_PATCH_HOOKS += LIBMAD_PREVENT_AUTOMAKE
LIBMAD_POST_INSTALL_STAGING_HOOKS += LIBMAD_INSTALL_STAGING_PC
LIBMAD_POST_INSTALL_TARGET_HOOKS += LIBMAD_INSTALL_TARGET_PC
LIBMAD_CONF_OPTS = \
--disable-debugging \