From e4943bfcbf500165bb233c5e80f0d312c52f8c72 Mon Sep 17 00:00:00 2001 From: shadzik Date: Thu, 3 Dec 2009 19:58:22 +0000 Subject: [PATCH] - fix fvisibility detection Changed files: exiv2-configure.patch -> 1.1 --- exiv2-configure.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 exiv2-configure.patch diff --git a/exiv2-configure.patch b/exiv2-configure.patch new file mode 100644 index 0000000..4fd11da --- /dev/null +++ b/exiv2-configure.patch @@ -0,0 +1,19 @@ +--- config/configure.ac 2009-06-20 12:55:27.000000000 +0200 ++++ config/configure.ac-new 2009-12-03 20:53:38.492002725 +0100 +@@ -110,8 +110,6 @@ + [ --disable-visibility do not use g++ visibility support ], + GXX_VISIBILITY=$enableval, GXX_VISIBILITY=yes) + AC_MSG_RESULT($GXX_VISIBILITY) +-if test "$GXX_VISIBILITY" = "yes"; then +- AX_CXX_CHECK_FLAG(-fvisibility-inlines-hidden,[],[],[GXX_VISIBILITY=yes],[GXX_VISIBILITY=no]) + if test "$GXX_VISIBILITY" = "yes"; then + CXXFLAGS="${CXXFLAGS} -fvisibility=hidden -fvisibility-inlines-hidden" + AC_DEFINE(HAVE_GXXCLASSVISIBILITY,1) +@@ -119,7 +117,6 @@ + if test "$enable_shared" = "yes"; then + AC_DEFINE(HAVE_DLL) + fi +-fi + + AC_MSG_CHECKING([whether to use the lens database for Exif.Nikon3.LensData]) + AC_ARG_ENABLE(lensdata, -- 2.43.0