As noted in libarchive/archive_entry.h, need to define LIBARCHIVE_STATIC
for Windows (Cygwin) to using static library.
This commit is contained in:
parent
c96e577cea
commit
5ae60ba03c
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.190 2013/02/06 23:23:29 jperkin Exp $
|
||||
# $NetBSD: Makefile,v 1.191 2013/02/10 12:43:19 obache Exp $
|
||||
|
||||
# Notes to package maintainers:
|
||||
#
|
||||
|
@ -135,6 +135,10 @@ LIBS+= ${LIBARCHIVE_LIBS:sh}
|
|||
CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.guess
|
||||
CONFIG_SUB_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.sub
|
||||
|
||||
. if ${OPSYS} == "CYGWIN"
|
||||
CPPFLAGS+= -DLIBARCHIVE_STATIC
|
||||
. endif
|
||||
|
||||
. if ${OPSYS} == "Darwin"
|
||||
# Make sure that the linker used our static library instead of the
|
||||
# (outdated) dynamic library "/usr/lib/libarchive.dylib".
|
||||
|
|
Loading…
Reference in a new issue