[x264-devel] [PATCH 3/4] add /usr/lib/{64/}values-xpg6.o to $LDFLAGS on Solaris. This is required for POSIX.1-2001 compliance.
Sean McGovern
gseanmcg at gmail.com
Thu Sep 29 20:00:08 CEST 2011
---
configure | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 0ade26c..9159eef 100755
--- a/configure
+++ b/configure
@@ -465,6 +465,11 @@ case $host_os in
SYS="SunOS"
define HAVE_MALLOC_H
LDFLAGS="$LDFLAGS -lm"
+ if cc_check "" /usr/lib/64/values-xpg6.o; then
+ LDFLAGS="$LDFLAGS /usr/lib/64/values-xpg6.o"
+ else
+ LDFLAGS="$LDFLAGS /usr/lib/values-xpg6.o"
+ fi
HAVE_GETOPT_LONG=0
;;
*)
--
1.7.6
More information about the x264-devel
mailing list