Define PKG_CONFIG_PATH in client instructions

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1193 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
beuc 2012-03-18 10:24:21 +00:00
parent c00c3d67a0
commit 265e1cc378

View File

@ -88,6 +88,7 @@ Compile FreeGLUT for a traditional cross-compiler environment
For instance if you use the autotools: For instance if you use the autotools:
PATH=/usr/src/ndk-standalone-9/bin:$PATH PATH=/usr/src/ndk-standalone-9/bin:$PATH
PKG_CONFIG_PATH=/usr/src/ndk-standalone-9/share/pkgconfig
./configure --host=arm-linux-androideabi --prefix=/somewhere ./configure --host=arm-linux-androideabi --prefix=/somewhere
make make
make install make install
@ -95,6 +96,8 @@ For instance if you use the autotools:
If you use CMake, you may want to copy our Android toolchain If you use CMake, you may want to copy our Android toolchain
'android_toolchain.cmake': 'android_toolchain.cmake':
PATH=/usr/src/ndk-standalone-9/bin:$PATH
PKG_CONFIG_PATH=/usr/src/ndk-standalone-9/share/pkgconfig
cp .../android_toolchain.cmake . cp .../android_toolchain.cmake .
cmake \ cmake \
-D CMAKE_TOOLCHAIN_FILE=android_toolchain.cmake -D CMAKE_TOOLCHAIN_FILE=android_toolchain.cmake