2011-04-30 19:06:06 +00:00
|
|
|
--- configure.ac.orig
|
|
|
|
+++ configure.ac
|
2012-12-15 19:01:02 +00:00
|
|
|
@@ -302,7 +302,7 @@
|
|
|
|
RESOLVES=" # "
|
|
|
|
;; *)
|
|
|
|
if test ".$can_build_shared" != ".no" ; then
|
|
|
|
- ZZIPLIB_LDFLAGS="-export-dynamic"
|
|
|
|
+ ZZIPLIB_LDFLAGS="-Wl,-export-dynamic"
|
|
|
|
if test ".$lt_cv_prog_gnu_ld" == ".yes" ; then
|
|
|
|
ZZIPLIB_LDFLAGS="${wl}--export-dynamic"
|
|
|
|
# TODO: that is for backward compatibility only
|
2011-04-30 19:06:06 +00:00
|
|
|
--- zzip/Makefile.am.orig
|
|
|
|
+++ zzip/Makefile.am
|
|
|
|
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = 1.5 foreign
|
|
|
|
AUTOTOOL_VERSION=autoconf-2.52 automake-1.5 libtool-1.4.2
|
|
|
|
DEFAULT_INCLUDES = # nothing - no default of -I. -I$(srcdir)
|
|
|
|
DEFS = @DEFS@ -I$(top_builddir) -I$(top_srcdir) # also for automake 1.4
|
|
|
|
-
|
|
|
|
+AM_CFLAGS = -fno-strict-aliasing
|
|
|
|
lib_LTLIBRARIES = libzzip.la libzzipmmapped.la libzzipfseeko.la
|
|
|
|
zzipdir = ${includedir}/zzip
|
|
|
|
zzip_HEADERS = $(libzzip_la_headers) \
|