Package: libz-mingw-w64-dev
Version: 1.2.8+dfsg-1
Severity: normal
Tags: patch

In some cases we want to be able to ship static builds of win32
executables.  for example, gpgv.exe has traditionally shipped as a
static executable.  To cross-build something like this with mingw-w64,
we would need to have libz.a available for this platform.

The attached patch provides the static library.

Thanks,

        --dkg


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing'), (200, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libz-mingw-w64-dev depends on:
ii  libz-mingw-w64  1.2.8+dfsg-2

libz-mingw-w64-dev recommends no packages.

libz-mingw-w64-dev suggests no packages.

-- debconf-show failed
>From e71079b960d86fb89a6d24593f672924ef8e08c3 Mon Sep 17 00:00:00 2001
From: Daniel Kahn Gillmor <d...@fifthhorseman.net>
Date: Tue, 16 Feb 2016 01:00:16 -0500
Subject: [PATCH] ship libz.a for mingw-w64 static builds

---
 debian/libz-mingw-w64-dev.install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/libz-mingw-w64-dev.install b/debian/libz-mingw-w64-dev.install
index 5b32da7..e3e7bb6 100644
--- a/debian/libz-mingw-w64-dev.install
+++ b/debian/libz-mingw-w64-dev.install
@@ -1,3 +1,3 @@
 usr/*/include/*
-usr/*/lib/*.dll.a
+usr/*/lib/*.a
 usr/*/lib/pkgconfig/*
-- 
2.7.0

Reply via email to