Explorar o código

Remove linkage against unused libraries

Do not link against selinux on dpkg-deb, and do not link against the
compression libraries on dpkg.
Guillem Jover %!s(int64=17) %!d(string=hai) anos
pai
achega
6731fb6c13
Modificáronse 2 ficheiros con 1 adicións e 4 borrados
  1. 1 2
      dpkg-deb/Makefile.am
  2. 0 2
      src/Makefile.am

+ 1 - 2
dpkg-deb/Makefile.am

@@ -22,6 +22,5 @@ dpkg_deb_LDADD = \
 	../lib/compat/libcompat.a \
 	$(LIBINTL) \
 	$(ZLIB_LIBS) \
-	$(BZ2_LIBS) \
-	$(SELINUX_LIBS)
+	$(BZ2_LIBS)
 

+ 0 - 2
src/Makefile.am

@@ -41,8 +41,6 @@ dpkg_LDADD = \
 	../lib/dpkg/libdpkg.a \
 	../lib/compat/libcompat.a \
 	$(LIBINTL) \
-	$(ZLIB_LIBS) \
-	$(BZ2_LIBS) \
 	$(SELINUX_LIBS)
 
 dpkg_query_SOURCES = \