diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-12-13 13:41:32 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-12-13 13:41:32 (GMT) |
commit | d2530d8d9e7e19d1ae6a51dd12b88ef6bd6c5c6e (patch) | |
tree | 835541fb7b9d825e527af9c78f1bba45ed94fd48 /doc | |
parent | 6cde70a5ad3f8a5267d560430c7b001a2d56efc7 (diff) | |
download | mxe-d2530d8d9e7e19d1ae6a51dd12b88ef6bd6c5c6e.zip mxe-d2530d8d9e7e19d1ae6a51dd12b88ef6bd6c5c6e.tar.gz mxe-d2530d8d9e7e19d1ae6a51dd12b88ef6bd6c5c6e.tar.bz2 |
improved pkg-config wrapper and its documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/index.html | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/index.html b/doc/index.html index 9c7b6ea..1e285b4 100644 --- a/doc/index.html +++ b/doc/index.html @@ -304,7 +304,19 @@ exit</pre> <pre>export PATH=/<em>where mingw-cross-env is installed</em>/usr/bin:$PATH</pre> <p> - Note that any compiler related environment variables + In case you are using custom $PKG_CONFIG_PATH entries, + you can add separate entries for MinGW cross builds: + </p> + <pre>export PKG_CONFIG_PATH="<em>entries for native builds</em>"</pre> + <pre>export PKG_CONFIG_PATH_<span class="target-underscore">i686_pc_mingw32</span>="<em>entries for mingw-cross-env builds</em>"</pre> + <p> + Remember to use <span class="target">i686-pc-mingw32</span>-pkg-config + instead of pkg-config for cross builds. + The Autotools do that automatically for you. + </p> + + <p> + Note that any other compiler related environment variables (like $CC, $LDFLAGS, etc.) may spoil your compiling pleasure, so be sure to delete or disable those. @@ -363,7 +375,8 @@ make</pre> </p> <pre>CC=$(CROSS)gcc LD=$(CROSS)ld -AR=$(CROSS)ar</pre> +AR=$(CROSS)ar +PKG_CONFIG=$(CROSS)pkg-config</pre> <p> You may have to add a few others, depending on your project. </p> |