Просмотр исходного кода

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 лет назад: 17
Родитель
Сommit
6731fb6c13
2 измененных файлов с 1 добавлено и 4 удалено
  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 = \