Commit 869d0526 authored by Christophe Mutricy's avatar Christophe Mutricy

Install.win32: Add path for pkg-config

parent bb162a43
...@@ -124,6 +124,7 @@ If you are cross-compiling from Debian, you can use something ...@@ -124,6 +124,7 @@ If you are cross-compiling from Debian, you can use something
along those lines: along those lines:
./bootstrap && \ ./bootstrap && \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \ CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \ LDFLAGS=-L/usr/win32/lib \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
...@@ -148,6 +149,7 @@ along those lines: ...@@ -148,6 +149,7 @@ along those lines:
./bootstrap && \ ./bootstrap && \
PATH=/usr/local/mingw/bin:$PATH \ PATH=/usr/local/mingw/bin:$PATH \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS=-I/usr/win32/include \ CPPFLAGS=-I/usr/win32/include \
LDFLAGS=-L/usr/win32/lib \ LDFLAGS=-L/usr/win32/lib \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
...@@ -173,6 +175,7 @@ hasn't been tested in about a year or so. So to build without the ...@@ -173,6 +175,7 @@ hasn't been tested in about a year or so. So to build without the
emulation layer, use something like this: emulation layer, use something like this:
./bootstrap && \ ./bootstrap && \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \ CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \ LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \ CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
...@@ -198,6 +201,7 @@ CXX="g++ -mno-cygwin" line. You're on your own though. ...@@ -198,6 +201,7 @@ CXX="g++ -mno-cygwin" line. You're on your own though.
If you are compiling with MSYS/MINGW, then you can use something along those If you are compiling with MSYS/MINGW, then you can use something along those
lines: lines:
./bootstrap && \ ./bootstrap && \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \ CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \ LDFLAGS=-L/usr/win32/lib \
./configure \ ./configure \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment