open-src/lib/libXvMC/Makefile
changeset 1196 1ce455dae979
parent 999 c88b52baf4f4
child 1276 52f85727ce94
--- 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