mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 16:58:01 +02:00
[Makefile] Amend checks for horrible msys environment.
automake-1.8 requires $(EXEEXT) for TESTS and feeds lt-check-*.c to check-cairoint.h. Workaround both misfeatures.
This commit is contained in:
parent
7880ddd101
commit
87094e8c78
2 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ TESTS_SH = \
|
|||
TESTS += $(TESTS_SH)
|
||||
if CROSS_COMPILING
|
||||
else
|
||||
TESTS += check-link
|
||||
TESTS += check-link$(EXEEXT)
|
||||
endif
|
||||
|
||||
EXTRA_DIST += $(TESTS_SH) check-has-hidden-symbols.c
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ stat=0
|
|||
|
||||
echo 'Checking source files for missing or misplaced #include "cairoint.h"'
|
||||
|
||||
find "$srcdir" \( -name '*.c' -or -name '*.cpp' \) -and ! -name 'check-*.c' |
|
||||
find "$srcdir" \( -name '*.c' -or -name '*.cpp' \) -and ! \( -name 'check-*.c' -or -name 'lt-check-*.c' \) |
|
||||
while read x; do
|
||||
grep '\<include\>' "$x" /dev/null | head -n 1
|
||||
done |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue