From 744f5a2ab5fd2d570a0c6135262761ffdc23bb1f Mon Sep 17 00:00:00 2001 From: Kurt Kanzenbach Date: Fri, 10 Apr 2020 15:39:13 +0200 Subject: [PATCH] lib: xdp: make: Fix library install Two problems: * install doesn't handle symlinks * static libs are installed Fix it. Signed-off-by: Kurt Kanzenbach --- lib/libxdp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile index d5f465e3f67c..c4508889fab2 100644 --- a/lib/libxdp/Makefile +++ b/lib/libxdp/Makefile @@ -42,7 +42,7 @@ install: $(Q)install -d -m 0755 $(DESTDIR)$(HDRDIR) $(Q)install -d -m 0755 $(DESTDIR)$(LIBDIR) $(Q)install -m 0644 $(LIB_HEADERS) $(DESTDIR)$(HDRDIR)/ - $(Q)install -m 0755 $(SHARED_LIBS) $(STATIC_LIBS) $(DESTDIR)$(LIBDIR) + $(Q)cp -a $(SHARED_LIBS) $(DESTDIR)$(LIBDIR) $(OBJDIR)/libxdp.a: $(STATIC_OBJS) -- 2.24.1