[pkg-opensc-commit] [opensc] 101/295: src/tests/Makefile.am: fix compilation with OpenSSL

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository opensc.

commit a3bf2efd531ce9dfcd2afb3282a91c71cbcd1cbf
Author: Ludovic Rousseau <ludovic.rousseau+github at gmail.com>
Date:   Fri Oct 14 14:06:07 2016 +0200

    src/tests/Makefile.am: fix compilation with OpenSSL
    
    OpenSSL header files are used indirectly by the binaries.
    
    Fix the compilation error:
      CC       base64.o
    In file included from base64.c:6:
    In file included from ../../src/libopensc/asn1.h:29:
    In file included from ../../src/libopensc/pkcs15.h:29:
    In file included from ../../src/libopensc/aux-data.h:31:
    In file included from ../../src/libopensc/internal.h:44:
    ../../src/libopensc/sc-ossl-compat.h:30:10: fatal error: 'openssl/opensslv.h'
          file not found
             ^
    1 error generated.
---
 src/tests/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 2fcc686..2a869d8 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -7,6 +7,7 @@ SUBDIRS = regression
 noinst_PROGRAMS = base64 lottery p15dump pintest prngtest
 
 AM_CPPFLAGS = -I$(top_srcdir)/src
+AM_CFLAGS = $(OPTIONAL_OPENSSL_CFLAGS)
 LIBS = \
 	$(top_builddir)/src/libopensc/libopensc.la \
 	$(top_builddir)/src/common/libscdl.la \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git



More information about the pkg-opensc-commit mailing list