Commit d4a64473 authored by Łukasz Nowak's avatar Łukasz Nowak

- pkgconfig is not used

 - add libs to LDFLAGS to avoid seearching them in system lib location (avoids adding /usr/lib[64] to rpath automagically)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40612 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 88bba03a
......@@ -14,6 +14,7 @@ configure-options =
--enable-shared
--disable-java
--disable-csharp
--with-libncurses-prefix=${ncurses:location}
--with-libxml2-prefix=${libxml2:location}
--with-included-gettext
--without-emacs
......@@ -21,6 +22,5 @@ configure-options =
--disable-openmp
environment =
PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig
CFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${ncurses:location}/include
LDFLAGS=-Wl,-rpath -Wl,${libxml2:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib
LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath -Wl,${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${ncurses:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib
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