pciutils: SHARED make opt goes for install too
PATCH 1/1 pciutils: SHARED make opt goes for install too
If we don't pass SHARED when installing we miss the shared library symlinks (libpci.so & libpci.so.3)
On internal and external toolchains that have a proper cross ldconfig this isn't a problem but it breaks on toolchains that lack a cross ldconfig to automagically make the symlinks.
--- package/pciutils/pciutils.mk | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
package/pciutils/pciutils.mk +4 -2
@@ -39,8 +39,10 @@ endef # Ditch install-lib if SHARED is an option in the future define PCIUTILS_INSTALL_TARGET_CMDS - $(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(TARGET_DIR)/usr install - $(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(TARGET_DIR)/usr install-lib + $(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(TARGET_DIR)/usr \ + SHARED=$(PCIUTILS_SHARED) install + $(MAKE) BUILDDIR=$(@D) -C $(@D) PREFIX=$(TARGET_DIR)/usr \ + SHARED=$(PCIUTILS_SHARED) install-lib endef $(eval $(call GENTARGETS,package,pciutils))
Signature · 1 line
1.7.3.4
PATCH 1/1 pciutils: SHARED make opt goes for install too
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> If we don't pass SHARED when installing we miss the shared library Gustavo> symlinks (libpci.so & libpci.so.3)
Gustavo> On internal and external toolchains that have a proper cross ldconfig Gustavo> this isn't a problem but it breaks on toolchains that lack a cross ldconfig to Gustavo> automagically make the symlinks.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard