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
1 changed files with 2 additions and 1 deletions

View File

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