summaryrefslogtreecommitdiff
path: root/xorg-server.pc.in
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 02:01:57 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 02:01:57 -0200
commit45c8bd0fe54273039fdaa1eeeafb81b5774f2c75 (patch)
tree7581d206097b0b591e526cfd091a793510ec7301 /xorg-server.pc.in
parent31285d063ec4623cb0764437d6d57e244f20460d (diff)
Enable compiling the X Server and modules with hidden symbols by default.
Note that it checks if support for symbol visibility is available by the compiler, not if it is functional. It may have problems on non x86 architectures. To disable the feature, just pass the option "--disable-visibility" to the X Server configure script. Unless using an alternate build schema, drivers built from a git checkout will use the same "visibility" related CFLAGS used to compile the X Server.
Diffstat (limited to 'xorg-server.pc.in')
-rw-r--r--xorg-server.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server.pc.in b/xorg-server.pc.in
index 139adf487..7547aa31b 100644
--- a/xorg-server.pc.in
+++ b/xorg-server.pc.in
@@ -15,5 +15,5 @@ Name: xorg-server
Description: Modular X.Org X Server
Version: @PACKAGE_VERSION@
Requires: pixman-1 pciaccess
-Cflags: -I${sdkdir}
+Cflags: -I${sdkdir} @symbol_visibility@
Libs: -L${libdir}