Commit 07330d2b authored by Christophe Mutricy's avatar Christophe Mutricy

INSTALL.win32: Set correctly PATH when using contribs + misc fix

parent 0559d37d
...@@ -47,6 +47,7 @@ If you want to build VLC from sources, you can do it in several ways: ...@@ -47,6 +47,7 @@ If you want to build VLC from sources, you can do it in several ways:
usually loses signals sent by PulseEvent() ) usually loses signals sent by PulseEvent() )
- or on GNU/Linux, using the mingw32 cross-compiler. - or on GNU/Linux, using the mingw32 cross-compiler.
This method is preferred over all the others.
Getting the right compiler tools Getting the right compiler tools
================================ ================================
...@@ -113,13 +114,14 @@ Configuring the build ...@@ -113,13 +114,14 @@ Configuring the build
Once you've got all the files you need in place, you need to configure the Once you've got all the files you need in place, you need to configure the
build with the `./configure' script. build with the `./configure' script.
I'll assume that you are using the pre-compiled 3rd party libraries I'm I'll assume that you are using the pre-compiled 3rd party libraries we are
providing and that they are in /usr/win32. providing and that they are in /usr/win32.
If you are cross-compiling from Debian, you can use something If you are cross-compiling from Debian, you can use something
along those lines: along those lines:
./bootstrap && \ ./bootstrap && \
PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \ 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 \
...@@ -146,6 +148,7 @@ hasn't been tested in about a year or so. So to build without the ...@@ -146,6 +148,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 && \
PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \ 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 \
...@@ -173,6 +176,7 @@ If you are compiling with MSYS/MINGW, then you can use something along those ...@@ -173,6 +176,7 @@ 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 \ PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
PATH=/usr/win32/bin:$PATH \
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