jpegexiforient: fix cross-compilation

This commit is contained in:
Brian McKenna 2022-06-06 12:27:45 +10:00
parent e4cb4bdb05
commit 535900e91d

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation {
cp $src jpegexiforient.c
'';
buildPhase = ''
cc -o jpegexiforient jpegexiforient.c
$CC -o jpegexiforient jpegexiforient.c
'';
installPhase = ''
install -Dt $out/bin jpegexiforient