41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
From b8a400c510cc7965badf85fbc2f674c166dd6ae8 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
|
Date: Mon, 4 Jul 2011 17:19:28 +0200
|
|
Subject: [libica PATCH] use a new variable for tracking the API version
|
|
|
|
---
|
|
configure.in | 3 +++
|
|
src/Makefile.am | 2 +-
|
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
index c43dc8c..2fa2273 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -3,6 +3,9 @@
|
|
|
|
AC_INIT(libica, 2.6.2, ingo.tuchscherer@linux.vnet.ibm.com)
|
|
|
|
+LIBICA_API=2.0
|
|
+AC_SUBST(LIBICA_API)
|
|
+
|
|
cmdline_CFLAGS="$CFLAGS"
|
|
|
|
# Compute $target
|
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
|
index 5902c60..d9ee00b 100644
|
|
--- a/src/Makefile.am
|
|
+++ b/src/Makefile.am
|
|
@@ -2,7 +2,7 @@ INCLUDES = -I ./include -I ../include
|
|
|
|
lib_LTLIBRARIES = libica.la
|
|
|
|
-libica_la_LDFLAGS = -version-number 2:6:2 $(PACKAGE_VERSION) -lrt -lcrypto
|
|
+libica_la_LDFLAGS = -release $(LIBICA_API) -lrt -lcrypto
|
|
libica_la_SOURCES = icalinux.c ica_api.c init.c icastats_shared.c \
|
|
s390_rsa.c s390_crypto.c s390_common.c \
|
|
s390_prng.c s390_sha.c opencryptoki_api.c \
|
|
--
|
|
2.4.11
|
|
|