libnl: handle all installed libraries
PATCH 1/2 libnl: handle all installed libraries
libnl does not only install libnl.so, but also libnl-nf.so, libnl-genl.so and libnl-route.so. Change the post-install and uninstall hooks to handle these libraries as well.
--- package/libnl/libnl.mk | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
package/libnl/libnl.mk +2 -0
@@ -14,9 +14,11 @@ $(eval $(call AUTOTARGETS,package,libnl)) $(LIBNL_HOOK_POST_INSTALL): $(LIBNL_TARGET_INSTALL_TARGET) $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl.so* + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl-*.so* touch $@ $(LIBNL_TARGET_UNINSTALL): $(call MESSAGE,"Uninstalling") rm -f $(TARGET_DIR)/usr/lib/libnl.so* + rm -f $(TARGET_DIR)/usr/lib/libnl-*.so* rm -f $(LIBNL_TARGET_INSTALL_TARGET) $(LIBNL_HOOK_POST_INSTALL)
Signature · 1 line
1.6.5
PATCH 1/2 libnl: handle all installed libraries
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Sven" == Sven Neumann <[email protected]> writes:
Sven> libnl does not only install libnl.so, but also libnl-nf.so, Sven> libnl-genl.so and libnl-route.so. Change the post-install Sven> and uninstall hooks to handle these libraries as well.
Sven> Signed-off-by: Sven Neumann <[email protected]> Sven> ---
Sven> package/libnl/libnl.mk | 2 ++
Sven> 1 files changed, 2 insertions(+), 0 deletions(-)
Sven> diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk Sven> index 1a66746..b9224f2 100644
Sven> --- a/package/libnl/libnl.mk
Sven> +++ b/package/libnl/libnl.mk
Sven> @@ -14,9 +14,11 @@ $(eval $(call AUTOTARGETS,package,libnl))
Sven> $(LIBNL_HOOK_POST_INSTALL): $(LIBNL_TARGET_INSTALL_TARGET)
Sven> $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl.so*
Sven> + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl-*.so*
This should be surrounded by ifneq ($(BR2_ENABLE_DEBUG),y) - But, I'll fix that myself - Committed.
Signature · 1 line
Bye, Peter Korsgaard