Fixing ultrastardx linking with lua.
Now it fails to start to me, due to some alsa problems.
This commit is contained in:
parent
1f5d28001e
commit
e12695ba85
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
# The fpc is not properly wrapped to add -rpath. I add this manually.
|
# The fpc is not properly wrapped to add -rpath. I add this manually.
|
||||||
# I even do a trick on lib/lib64 for libgcc, that I expect it will work.
|
# I even do a trick on lib/lib64 for libgcc, that I expect it will work.
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${SDL}/lib -rpath ${SDL_image}/lib -rpath ${libpng}/lib -rpath ${freetype}/lib -rpath ${portaudio}/lib -rpath ${ffmpeg}/lib -rpath ${zlib}/lib -rpath ${sqlite}/lib -rpath ${libX11}/lib -rpath ${pcre}/lib -rpath ${stdenv.gcc.gcc}/lib64 -rpath ${stdenv.gcc.gcc}/lib"
|
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${SDL}/lib -rpath ${SDL_image}/lib -rpath ${libpng}/lib -rpath ${freetype}/lib -rpath ${portaudio}/lib -rpath ${ffmpeg}/lib -rpath ${zlib}/lib -rpath ${sqlite}/lib -rpath ${libX11}/lib -rpath ${pcre}/lib -rpath ${lua}/lib -rpath ${stdenv.gcc.gcc}/lib64 -rpath ${stdenv.gcc.gcc}/lib"
|
||||||
|
|
||||||
sed -i 414,424d Makefile
|
sed -i 414,424d Makefile
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user