summaryrefslogtreecommitdiff
path: root/src/check-has-hidden-symbols.c
AgeCommit message (Collapse)AuthorFilesLines
2008-01-11[check] Move the hidden symbol check into check-{def,plt}.shChris Wilson1-10/+1
Behdad, once again the arbiter of good taste, objected to the use of the dotfile within the Makefile, and suggested that one calls $MAKE to pre-process the source file from within the check scripts. Doing so removes the ugly wart added to Makefile.am...
2008-01-11[check] Replace compiled symbol visibility checker with shell script.Chris Wilson1-0/+12
Behdad Esfahbod objected to the execution of a compiled program to check symbol visibility as it makes cross-compilation more difficult. Instead of executing the program, this method conditionally exports a variable if cairo uses symbol hiding and scans the executable for that symbol in a similar manner to check-def.sh. This has the slight advantage of using the Makefile for performing the compilation, rather than attempting to invoke $(CPP) from a shell script within the test environment.