forked from mirrors/nixpkgs
treewide: Make explicit that 'dev' output of libX11 is used
This commit is contained in:
parent
7fb29bfa73
commit
c857552da8
|
@ -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 = ''
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue