opentracker: fix build for libowfat 0.32
This commit is contained in:
parent
ded8dc1c46
commit
c494e27999
1 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,15 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ libowfat zlib ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace \
|
||||
'LIBOWFAT_HEADERS=$(PREFIX)/libowfat' \
|
||||
'LIBOWFAT_HEADERS=${libowfat}/include/libowfat'
|
||||
substituteInPlace Makefile --replace \
|
||||
'LIBOWFAT_LIBRARY=$(PREFIX)/libowfat' \
|
||||
'LIBOWFAT_LIBRARY=${libowfat}/lib'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D opentracker $out/bin/opentracker
|
||||
|
|
Loading…
Reference in a new issue