aboutsummaryrefslogtreecommitdiffhomepage
path: root/build-mac
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-01-22 17:28:08 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-01-22 17:28:08 -0800
commit7de393b86db4fe8dcb779e0559dea6508b7d73c1 (patch)
tree3fe9e16b3d7d3a7f8574ec7ecec8e79d57a4f5fa /build-mac
parent399112d6bf070bce21c80a323fa2448ebec22b85 (diff)
Updated README instructions: removed uchardet dependency
Diffstat (limited to 'build-mac')
-rw-r--r--build-mac/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-mac/README.md b/build-mac/README.md
index 3263d423..2d3c9f8a 100644
--- a/build-mac/README.md
+++ b/build-mac/README.md
@@ -35,14 +35,14 @@ Download the latest [build for OS X](http://d.etpan.org/mailcore2-deps/mailcore2
- Click the `+` icon and select `MailCore.framework`.
* Mac static library
- Go to Build Phases from your build target, and under 'Link Binary With Libraries', add `libMailCore.a` and `Security.framework`.
- - Set 'Other Linker Flags' under Build Settings: `-luchardet -lctemplate -letpan -lxml2 -lsasl2 -liconv -ltidy -lz` `-lc++ -stdlib=libc++ -ObjC -lcrypto -lssl`
+ - Set 'Other Linker Flags' under Build Settings: `-lctemplate -letpan -lxml2 -lsasl2 -liconv -ltidy -lz` `-lc++ -stdlib=libc++ -ObjC -lcrypto -lssl`
- Make sure to use LLVM C++ standard library. In Build Settings, locate 'C++ Standard Library', and select `libc++`.
- In Build Phases, add a Target Dependency of `static mailcore2 osx`.
5. **For iOS** - If you're targeting iOS, you have to link against MailCore 2 as a static library:
* Add `libMailCore-ios.a`
* Add `CFNetwork.framework`
* Add `Security.framework`
- * Set 'Other Linker Flags': `-luchardet-ios -lctemplate-ios -letpan-ios -lxml2 -lsasl2 -liconv -ltidy -lz` `-lc++ -stdlib=libc++ -ObjC`
+ * Set 'Other Linker Flags': `-lctemplate-ios -letpan-ios -lxml2 -lsasl2 -liconv -ltidy -lz` `-lc++ -stdlib=libc++ -ObjC`
* Make sure to use LLVM C++ standard library. Open Build Settings, scroll down to 'C++ Standard Library', and select `libc++`.
* In Build Phases, add a Target Dependency of `static mailcore2 ios`.
6. **For Swift** - If you are using Mailcore in a Swift project you also need to complete the following steps: