Do not link against selinux on dpkg-deb, and do not link against the compression libraries on dpkg.
@@ -22,6 +22,5 @@ dpkg_deb_LDADD = \
../lib/compat/libcompat.a \
$(LIBINTL) \
$(ZLIB_LIBS) \
- $(BZ2_LIBS) \
- $(SELINUX_LIBS)
+ $(BZ2_LIBS)
@@ -41,8 +41,6 @@ dpkg_LDADD = \
../lib/dpkg/libdpkg.a \
- $(ZLIB_LIBS) \
$(SELINUX_LIBS)
dpkg_query_SOURCES = \