This file is part of MXE. See LICENSE.md for licensing information. Contains ad hoc patches for cross building. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: "fix@me" Date: Tue, 14 Feb 2012 12:40:24 +0100 Subject: [PATCH] fix pkg-config diff --git a/build/pkgconfig/libarchive.pc.in b/build/pkgconfig/libarchive.pc.in index 1111111..2222222 100644 --- a/build/pkgconfig/libarchive.pc.in +++ b/build/pkgconfig/libarchive.pc.in @@ -8,4 +8,4 @@ Description: library that can create and read several streaming archive formats Version: @VERSION@ Cflags: -I${includedir} Libs: -L${libdir} -larchive -Libs.private: @LIBS@ +Libs.private: @LIBS@ -liconv From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 13 Aug 2017 14:38:47 +1000 Subject: [PATCH] libarchive.pc.in: add Cflags.private for static linking taken from: https://github.com/libarchive/libarchive/pull/934 diff --git a/build/pkgconfig/libarchive.pc.in b/build/pkgconfig/libarchive.pc.in index 1111111..2222222 100644 --- a/build/pkgconfig/libarchive.pc.in +++ b/build/pkgconfig/libarchive.pc.in @@ -7,5 +7,6 @@ Name: libarchive Description: library that can create and read several streaming archive formats Version: @VERSION@ Cflags: -I${includedir} +Cflags.private: -DLIBARCHIVE_STATIC Libs: -L${libdir} -larchive Libs.private: @LIBS@ -liconv