summary refs log tree commit diff
path: root/pkgs/os-specific/linux/fsverity-utils/remove-dynamic-libs.patch
blob: 95635cbccdb87081a1eb3d4dd3d10e797ebdafdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/Makefile b/Makefile
index 2304a21..697ccd4 100644
--- a/Makefile
+++ b/Makefile
@@ -149,13 +149,11 @@ libfsverity.so.$(SOVERSION):$(SHARED_LIB_OBJ)
 	$(QUIET_CCLD) $(CC) -o $@ -Wl,-soname=$@ -shared $+ \
 		$(CFLAGS) $(LDFLAGS) $(LDLIBS)
 
-DEFAULT_TARGETS += libfsverity.so.$(SOVERSION)
 
 # Create the symlink libfsverity.so => libfsverity.so.$(SOVERSION)
 libfsverity.so:libfsverity.so.$(SOVERSION)
 	$(QUIET_LN) ln -sf $+ $@
 
-DEFAULT_TARGETS += libfsverity.so
 
 ##############################################################################
 
@@ -263,8 +261,6 @@ install:all
 	install -d $(DESTDIR)$(LIBDIR)/pkgconfig $(DESTDIR)$(INCDIR) $(DESTDIR)$(BINDIR)
 	install -m755 $(FSVERITY) $(DESTDIR)$(BINDIR)
 	install -m644 libfsverity.a $(DESTDIR)$(LIBDIR)
-	install -m755 libfsverity.so.$(SOVERSION) $(DESTDIR)$(LIBDIR)
-	ln -sf libfsverity.so.$(SOVERSION) $(DESTDIR)$(LIBDIR)/libfsverity.so
 	install -m644 include/libfsverity.h $(DESTDIR)$(INCDIR)
 	sed -e "s|@PREFIX@|$(PREFIX)|" \
 		-e "s|@LIBDIR@|$(LIBDIR)|" \