diff -Nru qhttpengine-1.0.1+dfsg1/CMakeLists.txt qhttpengine-1.0.1+dfsg1/CMakeLists.txt --- qhttpengine-1.0.1+dfsg1/CMakeLists.txt 2018-03-18 02:01:31.000000000 +0000 +++ qhttpengine-1.0.1+dfsg1/CMakeLists.txt 2018-03-23 00:18:17.000000000 +0000 @@ -11,6 +11,9 @@ set(PROJECT_VERSION_PATCH 1) set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) +# Build a shared library by default +option(BUILD_SHARED_LIBS "Build QHttpEngine as a shared library" ON) + set(BIN_INSTALL_DIR bin CACHE STRING "Binary runtime installation directory relative to the install prefix") set(LIB_INSTALL_DIR lib CACHE STRING "Library installation directory relative to the install prefix") set(INCLUDE_INSTALL_DIR include CACHE STRING "Header installation directory relative to the install prefix") diff -Nru qhttpengine-1.0.1+dfsg1/debian/changelog qhttpengine-1.0.1+dfsg1/debian/changelog --- qhttpengine-1.0.1+dfsg1/debian/changelog 2018-03-18 02:01:32.000000000 +0000 +++ qhttpengine-1.0.1+dfsg1/debian/changelog 2018-03-23 00:18:18.000000000 +0000 @@ -1,8 +1,8 @@ -qhttpengine (1.0.1+dfsg1-0~201803180201~ubuntu17.10.1) artful; urgency=low +qhttpengine (1.0.1+dfsg1-0~201803230018~ubuntu17.10.1) artful; urgency=low * Auto build. - -- Nathan Osman Sun, 18 Mar 2018 02:01:32 +0000 + -- Nathan Osman Fri, 23 Mar 2018 00:18:18 +0000 qhttpengine (1.0.1+dfsg1-1) unstable; urgency=low diff -Nru qhttpengine-1.0.1+dfsg1/debian/git-build-recipe.manifest qhttpengine-1.0.1+dfsg1/debian/git-build-recipe.manifest --- qhttpengine-1.0.1+dfsg1/debian/git-build-recipe.manifest 2018-03-18 02:01:32.000000000 +0000 +++ qhttpengine-1.0.1+dfsg1/debian/git-build-recipe.manifest 2018-03-23 00:18:18.000000000 +0000 @@ -1,3 +1,3 @@ -# git-build-recipe format 0.4 deb-version {debupstream}-0~201803180201 -lp:~george-edison55/nitroshare/+git/qhttpengine git-commit:f70405e4d66d2d3a49988a9dd63fe3394f0ab6b5 +# git-build-recipe format 0.4 deb-version {debupstream}-0~201803230018 +lp:~george-edison55/nitroshare/+git/qhttpengine git-commit:43f55df51623621ed3efb4e42c7894586d988667 nest qhttpengine-debian lp:~george-edison55/nitroshare/+git/qhttpengine-debian debian git-commit:f1f6ecd940e36a099e034f350226006e2839a227 diff -Nru qhttpengine-1.0.1+dfsg1/src/qhttpengine_export.h.in qhttpengine-1.0.1+dfsg1/src/qhttpengine_export.h.in --- qhttpengine-1.0.1+dfsg1/src/qhttpengine_export.h.in 2018-03-18 02:01:31.000000000 +0000 +++ qhttpengine-1.0.1+dfsg1/src/qhttpengine_export.h.in 2018-03-23 00:18:17.000000000 +0000 @@ -30,14 +30,16 @@ #define QHTTPENGINE_VERSION_PATCH @PROJECT_VERSION_PATCH@ #define QHTTPENGINE_VERSION "@PROJECT_VERSION@" -#if defined(QT_STATIC) -# define QHTTPENGINE_EXPORT -#else +#cmakedefine BUILD_SHARED_LIBS + +#if defined(BUILD_SHARED_LIBS) # if defined(QHTTPENGINE_LIBRARY) # define QHTTPENGINE_EXPORT Q_DECL_EXPORT # else # define QHTTPENGINE_EXPORT Q_DECL_IMPORT # endif +#else +# define QHTTPENGINE_EXPORT #endif #endif // QHTTPENGINE_QHTTPENGINE_H