From 216e7def2118a1774fa7ebeb45b8635b9fe6ba42 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 22 Aug 2014 19:08:08 +0200 Subject: Implement symbol visibility. * configure.ac: New option --enable-ld-version-script. (GPGRT_USE_VISIBILITY): New ac_define. (HAVE_LD_VERSION_SCRIPT): New am_conditional. * src/gpg-error.vers: New. * src/gpgrt-int.h: New. * src/visibility.c, src/visibility.h: New. Lot of changes to symbold names. -- This is only doe for the old API. The estream API needs to be added. --- tests/Makefile.am | 2 +- tests/t-strerror.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 277a78b..388e1d5 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -31,7 +31,7 @@ TESTS = t-version t-strerror t-syserror t-lock INCLUDES = -I$(top_builddir)/src $(extra_includes) - +AM_LDFLAGS = -no-install LDADD = $(gpg_error_lib) noinst_PROGRAMS = $(TESTS) diff --git a/tests/t-strerror.c b/tests/t-strerror.c index e02b302..9289066 100644 --- a/tests/t-strerror.c +++ b/tests/t-strerror.c @@ -2,17 +2,17 @@ Copyright (C) 2003 g10 Code GmbH This file is part of libgpg-error. - + libgpg-error is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. - + libgpg-error is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public License along with libgpgme-error; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -- cgit v1.2.3