diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-09-14 13:45:18 -0500 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-15 21:18:47 -0700 |
commit | 41d903918a5721e53ed694880eab44170f9717cc (patch) | |
tree | c3da7bc7694749473cf65289433da7bdaa6f5a46 /xorg-server.pc.in | |
parent | 40d338e9f723c4b3d63516aa62fdcded4d8af75e (diff) |
xorg-server.pc.in: Remove libpciaccess and pixman-1 from Requires
Every module building against xorg-server does not *Require* pixman nor
libpciaccess. If such modules need pixman or pciaccess, they should be
depending on them directly rather than inheriting a dependency from
xorg-server. To do this, they should use PKG_CHECK_MODULES in configure.ac
to check for pixman-1 or pciaccess and include the apporpriate _LIBS variable
to the appropriate _LDFLAGS variable in Makefile.am
This also moves pixman-1 to Requires.private, so CPPFLAGS is set right to
to satisfy include dependencies but avoid linking needlessly.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'xorg-server.pc.in')
-rw-r--r-- | xorg-server.pc.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xorg-server.pc.in b/xorg-server.pc.in index fb238b5cf..a98eca8f9 100644 --- a/xorg-server.pc.in +++ b/xorg-server.pc.in @@ -15,7 +15,6 @@ abi_extension=@abi_extension@ Name: xorg-server Description: Modular X.Org X Server Version: @PACKAGE_VERSION@ -Requires: pixman-1 pciaccess Requires.private: @SDK_REQUIRED_MODULES@ Cflags: -I${sdkdir} @symbol_visibility@ Libs: -L${libdir} |