aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/core/GpgFrontendCore.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 79f2bdc4..2f463039 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -61,7 +61,7 @@ endif ()
# link libarchive
if (MINGW)
find_library(LIBARCHIVE_LIB libarchive.a)
- target_link_libraries(gpgfrontend_core ${LIBARCHIVE_LIB})
+ target_link_libraries(gpgfrontend_core ${LIBARCHIVE_LIB} bcrypt lzma bz2 z)
else ()
target_link_libraries(gpgfrontend_core archive_static)
endif ()
diff --git a/src/core/GpgFrontendCore.h b/src/core/GpgFrontendCore.h
index 27738f7b..5931695d 100644
--- a/src/core/GpgFrontendCore.h
+++ b/src/core/GpgFrontendCore.h
@@ -50,6 +50,11 @@
#define LIBCONFIGXX_STATIC
#include <libconfig.h++>
+
+// libarchive includes
+#include <libarchive/libarchive/archive.h>
+#include <libarchive/libarchive/archive_entry.h>
+
#include "core/GpgModel.h"