]> err.no Git - yubikey-personalization.old/commitdiff
Fix test_args_to_config crash on some platform.
authorSimon Josefsson <simon@josefsson.org>
Mon, 15 Aug 2011 20:06:33 +0000 (22:06 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 15 Aug 2011 20:06:33 +0000 (22:06 +0200)
NEWS
configure.ac
tests/Makefile.am

diff --git a/NEWS b/NEWS
index e43331a9819314d1699936548b2fab1b8eeb24da..c267616d3a8b73fe449c9ec0b68e67d802952958 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ Yubikey-personalize NEWS -- History of user-visible changes.     -*- outline -*-
 
 * Version 1.6.1 (unreleased)
 
+** Fix test_args_to_config crash on some platform.
+The problem was due to mixing PIC and non-PIC object code.
+
 * Version 1.6.0 (released 2011-07-20)
 
 ** Accept firmware version 2.3.x too.
index 2e4a4606509c789bfe186f9ba937663a4a8b854b..7142a3d6339dbb04d476348665e97542f75705a0 100644 (file)
@@ -26,7 +26,7 @@
 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-AC_INIT([yubikey-personalization], [1.6.0],
+AC_INIT([yubikey-personalization], [1.6.1],
   [yubico-devel@googlegroups.com], [ykpers],
   [http://code.google.com/p/yubikey-personalization/])
 AC_CONFIG_AUX_DIR([build-aux])
@@ -37,7 +37,7 @@ AC_CONFIG_MACRO_DIR([m4])
 # Interfaces added:                             AGE++
 # Interfaces removed:                           AGE=0
 AC_SUBST(LT_CURRENT, 7)
-AC_SUBST(LT_REVISION, 0)
+AC_SUBST(LT_REVISION, 1)
 AC_SUBST(LT_AGE, 6)
 
 AM_INIT_AUTOMAKE([-Wall -Werror])
index 7070d1f930d321be0c861e014bc15e76f8f45894..989f11db56986f5a739f9ea00b76b382d8b29a68 100644 (file)
@@ -31,12 +31,11 @@ AM_LDFLAGS = -no-install -static
 AM_CFLAGS=-I$(srcdir)/.. -I$(srcdir)/../ykcore
 LDADD = ../libykpers-1.la
 
-ykpersonalize_LDADD = ../libykpers-1.la ../ykcore/libykcore.la
-
 ctests = selftest$(EXEEXT) test_args_to_config$(EXEEXT) test_key_generation$(EXEEXT)
 check_PROGRAMS = $(ctests)
 TESTS = $(ctests)
 
-test_args_to_config_LDADD = ../ykpers-args.o $(LDADD) $(ykpersonalize_LDADD)
+test_args_to_config_SOURCES = test_args_to_config.c \
+       ../ykpers-args.h ../ykpers-args.c
 
 TESTS_ENVIRONMENT = $(VALGRIND)