Commit 95cc2aab authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

pciutils: fixup library permissions



libpci.so* is installed without +x permissions thus preventing
stripping. Fix it up in the post install target hooks.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 22718b0e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -65,4 +65,12 @@ define PCIUTILS_INSTALL_STAGING_CMDS
		SHARED=$(PCIUTILS_SHARED) install install-lib
endef


# Library lacks +x so strip skips it
define PCIUTILS_FIX_LIBRARY_MODE
	-chmod +x $(TARGET_DIR)/usr/lib/libpci.so*
endef

PCIUTILS_POST_INSTALL_TARGET_HOOKS += PCIUTILS_FIX_LIBRARY_MODE

$(eval $(generic-package))