--- a/open-src/lib/libXvMC/Makefile Sun Aug 28 21:53:02 2011 -0700
+++ b/open-src/lib/libXvMC/Makefile Mon Aug 29 11:22:46 2011 -0700
@@ -2,7 +2,7 @@
#
# XvMC 1.x Makefile
#
-# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
@@ -52,4 +52,8 @@
# Compatibility links from /usr/X11/lib to /usr/lib
MODULE_X11_LIBCOMPAT_LINKS = libXvMC.so libXvMC.so.1 libXvMCW.so libXvMCW.so.1
+# configure passes "xv" to PKG_CHECK_MODULES since libXv headers are needed,
+# but we don't need to link with it, so ignore it at link time.
+MODULE_LDFLAGS = -z ignore
+
include ../Makefile.inc