summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2014-11-24 12:36:03 (GMT)
committerMark Brand <mabrand@mabrand.nl>2014-11-24 12:36:03 (GMT)
commit325afb42b2bda6da313a305070ed05305981ef9d (patch)
tree197e56ba76fc03d24007b4e4971a2f88d4fa0562
parentfc34e04dec0eefb13691dbccc4f24b8dd2443353 (diff)
downloadmxe-325afb42b2bda6da313a305070ed05305981ef9d.zip
mxe-325afb42b2bda6da313a305070ed05305981ef9d.tar.gz
mxe-325afb42b2bda6da313a305070ed05305981ef9d.tar.bz2
vmime: install the DLL
-rw-r--r--src/vmime.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vmime.mk b/src/vmime.mk
index fc5c478..fe6cb78 100644
--- a/src/vmime.mk
+++ b/src/vmime.mk
@@ -42,6 +42,7 @@ define $(PKG)_BUILD
$(SED) -i 's,^\(Libs.private:.* \)$(PREFIX)/$(TARGET)/lib/libiconv\.a,\1-liconv,g' $(1)/vmime.pc
$(if $(BUILD_STATIC),$(SED) -i 's/^\(Cflags:.* \)/\1 -DVMIME_STATIC/g' $(1)/vmime.pc)
$(MAKE) -C '$(1)' install
+ $(if $(BUILD_SHARED),$(INSTALL) -m644 '$(1)/build/bin/libvmime.dll' '$(PREFIX)/$(TARGET)/bin/')
$(SED) -i 's/posix/windows/g;' '$(1)/examples/example6.cpp'
$(TARGET)-g++ -s -std=c++0x -o '$(1)/examples/test-vmime.exe' \