treewide: Make explicit that 'dev' output of libX11 is used

This commit is contained in:
Tuomas Tynkkynen 2016-04-16 20:53:46 +03:00 committed by Vladimír Čunát
parent 7fb29bfa73
commit c857552da8
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
echo "patching makefiles..."
for i in Makefile src/Makefile server/Makefile
do
sed -i "$i" -e "s|/usr/X11R6|${libX11}|g ; s|-lICE|-lX11 -lICE|g"
sed -i "$i" -e "s|/usr/X11R6|${libX11.dev}|g ; s|-lICE|-lX11 -lICE|g"
done '';
buildPhase = ''

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = [
"-I${xproto}/include/X11"
"-I${libX11}/include/X11"
"-I${libX11.dev}/include/X11"
"-I${libXcursor}/include/X11"
"-I${SDL}/include/SDL"
"-I${SDL2}/include/SDL2"

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation {
configurePhase = ''
tar xf ${mupen64plus.src}
APIDIR=$(eval echo `pwd`/mupen64plus*/source/mupen64plus-core/src/api)
export CXXFLAGS="-I${libX11}/include/X11 -DLIBDIR=\\\"${mupen64plus}/lib/\\\""
export CXXFLAGS="-I${libX11.dev}/include/X11 -DLIBDIR=\\\"${mupen64plus}/lib/\\\""
export LDFLAGS="-lwx_gtk2u_adv-2.9"
python waf configure --mupenapi=$APIDIR --wxconfig=`type -P wx-config` --prefix=$out
'';