summaryrefslogtreecommitdiff
path: root/packages/zlib/zlib_1.2.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zlib/zlib_1.2.2.bb')
-rw-r--r--packages/zlib/zlib_1.2.2.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/zlib/zlib_1.2.2.bb b/packages/zlib/zlib_1.2.2.bb
index 385fbbf57c..bdacf9ef8e 100644
--- a/packages/zlib/zlib_1.2.2.bb
+++ b/packages/zlib/zlib_1.2.2.bb
@@ -4,14 +4,15 @@ PRIORITY = "required"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
HOMEPAGE = "http://www.gzip.org/zlib/"
LICENSE = "zlib"
-PR = "r2"
+PR = "r5"
-SRC_URI = "http://www.libpng.org/pub/png/src/zlib-${PV}.tar.gz "
+SRC_URI = "http://www.libpng.org/pub/png/src/zlib-${PV}.tar.gz \
+ file://visibility.patch;patch=1"
S = "${WORKDIR}/zlib-${PV}"
export LDSHARED = "${CC} -shared -Wl,-soname,libz.so.1"
LDFLAGS_append = " -L. -lz"
-CFLAGS_prepend = "-fPIC "
+CFLAGS_prepend = "-fPIC -DZLIB_DLL "
AR_append = " rc"
EXTRA_OEMAKE = ""