package/libmad: don't install .pc in target
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 28 Sep 2017 18:06:21 +0000 (20:06 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 28 Sep 2017 20:04:03 +0000 (22:04 +0200)
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>
package/libmad/libmad.mk

index 0729b1e6d44b91f2e19a86e4fb55f6edba1b4f2a..7175eaa30ec2a80439bcce3414e168d844ded841 100644 (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 \