summaryrefslogtreecommitdiffstats
path: root/src/tidy-html5.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/tidy-html5.mk')
-rw-r--r--src/tidy-html5.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tidy-html5.mk b/src/tidy-html5.mk
index c711bbc..22c87a0 100644
--- a/src/tidy-html5.mk
+++ b/src/tidy-html5.mk
@@ -19,4 +19,11 @@ define $(PKG)_BUILD
$(if $(BUILD_STATIC),
cd '$(PREFIX)/$(TARGET)/lib' && mv libtidys.a libtidy.a,
rm -f '$(PREFIX)/$(TARGET)/lib/libtidys.a')
+
+ # build test manually
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror \
+ '$(PWD)/src/$(PKG)-test.c' \
+ -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG)-pkgconfig.exe' \
+ -ltidy
endef