Files
haikuports/media-libs/libjpeg-turbo/patches/libjpeg_turbo-1.5.3.patchset
miqlas 24e3433861 libjpeg-turbo: new recipe (#2336)
Passes all tests on all architectures: GREAT SUCCESS!
2018-03-18 16:52:44 +00:00

31 lines
573 B
Plaintext

From bf7be1f0e2f9c6758e0f5f4f5ae2c21dc4e3ab12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Fri, 16 Mar 2018 18:34:16 +0100
Subject: Basi Haiku arch support
diff --git a/acinclude.m4 b/acinclude.m4
index 113169f..fce8884 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -77,6 +77,16 @@ case "$host_os" in
;;
esac
;;
+ haiku*)
+ case "$host_cpu" in
+ x86_64)
+ objfmt='ELF64'
+ ;;
+ *)
+ objfmt='ELF'
+ ;;
+ esac
+ ;;
*)
objfmt='ELF ?'
;;
--
2.16.2