Skip to contentSkip to conversation

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

PATCH New Yann E. MORIN 2 participants 2 messages Sep 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/libmad/libmad.mk | 6 ------
 1 file changed, 6 deletions(-)
package/libmad/libmad.mk +0 -6
index 0729b1e6d4..7175eaa30e 100644
@@ -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 \
Signature · 1 line
2.11.0
#1 lore raw

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

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard