From f376646f142c4cb06797aceea5acbf5305fcc97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 26 Apr 2012 12:45:52 +0000 Subject: [PATCH] second try; refs #143 --- src/qbrowserlib/certs.hxx | 11 +---------- src/qbrowserlib/qmake.pro.in | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/qbrowserlib/certs.hxx b/src/qbrowserlib/certs.hxx index f0f7ae2..e226789 100644 --- a/src/qbrowserlib/certs.hxx +++ b/src/qbrowserlib/certs.hxx @@ -14,16 +14,7 @@ namespace qbrowserlib { -#if defined(Q_OS_LINUX) - QString LIBNAME("libcvP11.so"); -#elif defined(Q_OS_MAC) - QString LIBNAME("libcvP11.dylib"); -#elif defined(Q_OS_WIN) - QString LIBNAME("cvP11.dll"); -#else - QString LIBNAME; -#endif - + extern const QString LIBNAME; //! Access certificate information from cryptoki library. /*! Advice: Keep one instance per executable, because library is diff --git a/src/qbrowserlib/qmake.pro.in b/src/qbrowserlib/qmake.pro.in index 569cb1a..fc836be 100644 --- a/src/qbrowserlib/qmake.pro.in +++ b/src/qbrowserlib/qmake.pro.in @@ -34,7 +34,7 @@ TRANSLATIONS = @srcdir@/qbrowserlib_en.ts \ @srcdir@/qbrowserlib_fr.ts \ @srcdir@/qbrowserlib_it.ts -SOURCES = +SOURCES = @srcdir@/certs.cxx HEADERS = @srcdir@/swisswebview.hxx @srcdir@/swisswebpage.hxx \ @srcdir@/pluginfactory.hxx @srcdir@/saveorrun.hxx \