summaryrefslogtreecommitdiff
path: root/recipes/zlib/0001-win32-fix-dll-name.patch
blob: 8998bc679faeed58a6cf9bbe6a863f25ba4e5b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From 507c4fde9ab55ff58e30abb95d27d923325c73e8 Mon Sep 17 00:00:00 2001
From: Andoni Morales Alastruey <ylatuya@gmail.com>
Date: Mon, 28 Oct 2013 17:50:25 +0100
Subject: [PATCH] win32: fix dll name

---
 win32/Makefile.gcc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/win32/Makefile.gcc b/win32/Makefile.gcc
index 6d1ded6..d2aa544 100644
--- a/win32/Makefile.gcc
+++ b/win32/Makefile.gcc
@@ -30,18 +30,17 @@
 # the DLL name should be changed from "zlib1.dll".
 
 STATICLIB = libz.a
-SHAREDLIB = zlib1.dll
+SHAREDLIB = libz.dll
 IMPLIB    = libz.dll.a
 
 #
 # Set to 1 if shared object needs to be installed
 #
-SHARED_MODE=0
+SHARED_MODE=1
 
 #LOC = -DASMV
 #LOC = -DDEBUG -g
 
-PREFIX =
 CC = $(PREFIX)gcc
 CFLAGS = $(LOC) -O3 -Wall
 
-- 
1.8.1.2