summaryrefslogtreecommitdiffstats
path: root/src/vmime.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-03-17 00:22:52 (GMT)
committerMark Brand <mabrand@mabrand.nl>2011-03-17 00:22:52 (GMT)
commit361295ede953b4fef1cdb15c1b0439abc13f2b84 (patch)
tree2244e8d1054a78b60a874104eaaa24836f5d2edb /src/vmime.mk
parent1a67006aed01dbae21625685d5302595475eb292 (diff)
downloadmxe-361295ede953b4fef1cdb15c1b0439abc13f2b84.zip
mxe-361295ede953b4fef1cdb15c1b0439abc13f2b84.tar.gz
mxe-361295ede953b4fef1cdb15c1b0439abc13f2b84.tar.bz2
package vmime: fix and use .pc file
Diffstat (limited to 'src/vmime.mk')
-rw-r--r--src/vmime.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vmime.mk b/src/vmime.mk
index 3113f2f..79212f8 100644
--- a/src/vmime.mk
+++ b/src/vmime.mk
@@ -50,9 +50,7 @@ define $(PKG)_BUILD
$(SED) -i 's/posix/windows/g;' '$(1)/examples/example6.cpp'
$(TARGET)-g++ -s -o '$(1)/examples/test-vmime.exe' \
- -I'$(PREFIX)/$(TARGET)/include' \
'$(1)/examples/example6.cpp' \
- -L'$(PREFIX)/$(TARGET)/lib' \
- -lvmime -lgnutls -lgsasl -lntlm -lgcrypt -lgpg-error -liconv -lidn -lz -lpthread -lws2_32
+ `'$(TARGET)-pkg-config' vmime --cflags --libs`
$(INSTALL) -m755 '$(1)/examples/test-vmime.exe' '$(PREFIX)/$(TARGET)/bin/'
endef