3
0
Fork 0
forked from mirrors/nixpkgs

ultrastardx: fixup compilation

It starts for me now, so hopefully it's just OK.
This commit is contained in:
Vladimír Čunát 2019-06-03 09:52:52 +02:00
parent db3398a5fe
commit fbda7ca802
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -23,9 +23,10 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ fpc libpng ] ++ sharedLibs; buildInputs = [ fpc libpng ] ++ sharedLibs;
# https://github.com/UltraStar-Deluxe/USDX/issues/462
postPatch = '' postPatch = ''
# autoconf substitutes strange things otherwise
substituteInPlace src/config.inc.in \ substituteInPlace src/config.inc.in \
--subst-var-by lua_LIB_NAME liblua.so \
--subst-var-by libpcre_LIBNAME libpcre.so.1 --subst-var-by libpcre_LIBNAME libpcre.so.1
''; '';