fix g++ compilation

This commit is contained in:
Wassim Hamidouche 2016-06-09 09:39:08 +02:00 committed by Ari Koivula
parent a2170f0763
commit 02b0712973

View file

@ -143,12 +143,7 @@ libkvazaar_la_LIBADD = \
libsse41.la libsse41.la
if USE_CRYPTOPP if USE_CRYPTOPP
# The crypto.cpp has to be in it's own library, because otherwise libkvazaar_la_SOURCES += \
# autoconf wants to use CXXLD for linking, even if the cpp file
# is not included.
noinst_LTLIBRARIES += libcrypto.la
libkvazaar_la_LIBADD += libcrypto.la
libcrypto_la_SOURCES = \
extras/crypto.h \ extras/crypto.h \
extras/crypto.cpp extras/crypto.cpp
endif endif