Build libscrandom in both .a and .so versions (by R. Bihlmeyer)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1080 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
9213f6c5cc
commit
dcf4a94847
@ -1092,7 +1092,7 @@ LIBSCCONF="\${top_builddir}/src/scconf/libscconf.la"
|
||||
AC_SUBST(LIBSCLDAP)
|
||||
LIBSCLDAP="\${top_builddir}/src/scldap/libscldap.la"
|
||||
AC_SUBST(LIBSCRANDOM)
|
||||
LIBSCRANDOM="\${top_builddir}/src/scrandom/libscrandom.a"
|
||||
LIBSCRANDOM="\${top_builddir}/src/scrandom/libscrandom.la"
|
||||
|
||||
AM_CONDITIONAL(HAVE_SCIDI, test "foo" = "bar")
|
||||
|
||||
|
@ -11,7 +11,7 @@ SUBDIRS = . rsaref
|
||||
INCLUDES = @CFLAGS_OPENSC@ -I../pkcs15init
|
||||
|
||||
LDFLAGS = @LDFLAGS@ @LIBDL@ @LIBOPENSC@ ../pkcs15init/libpkcs15init.la \
|
||||
../scrandom/libscrandom.a
|
||||
../scrandom/libscrandom.la
|
||||
|
||||
SRC = pkcs11-global.c pkcs11-session.c pkcs11-object.c misc.c slot.c \
|
||||
mechanism.c openssl.c \
|
||||
|
@ -12,9 +12,9 @@ if HAVE_SSL
|
||||
SSL_LIB = @LIBCRYPTO@
|
||||
endif
|
||||
|
||||
lib_LIBRARIES = libscrandom.a
|
||||
lib_LTLIBRARIES = libscrandom.la
|
||||
|
||||
libscrandom_a_SOURCES = scrandom.c scrandom.h
|
||||
libscrandom_la_SOURCES = scrandom.c scrandom.h
|
||||
|
||||
noinst_PROGRAMS = test-random
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user