Skip to content

Commit b26075a

Browse files
committed
Attempt to fix build with newer libarchive
1 parent f33e325 commit b26075a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Makefile.autosetup

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ LIBPKGFLAT= -L$(top_builddir)/libpkg -lpkg_flat
4747
LIBS= @EXTRA_LIBS@
4848

4949
@if HAVE_PKG_LIBARCHIVE
50-
LIBS+= @PKG_LIBARCHIVE_LDFLAGS@ @PKG_LIBARCHIVE_LIBS_STATIC@
50+
OTHER_LIBS+= @PKG_LIBARCHIVE_LDFLAGS@ @PKG_LIBARCHIVE_LIBS_STATIC@
5151
@else
52-
LIBS+= -larchive -lbz2 -lz -llzma
52+
OTHER_LIBS+= -larchive -lbz2 -lz -llzma
5353
@endif
54-
OTHER_LIBS= -lm -lssl -lcrypto -pthread
54+
OTHER_LIBS+= -lm -lssl -lcrypto -pthread
5555
@if HAVE_LIBUTIL
5656
OTHER_LIBS+= -lutil
5757
@endif

0 commit comments

Comments
 (0)