Merge pull request #176494 from puffnfresh/package/jpegexiforient

jpegexiforient: fix cross-compilation
This commit is contained in:
Rick van Schijndel 2022-06-07 07:25:36 +02:00 committed by GitHub
commit 6b77eaaea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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