summaryrefslogtreecommitdiffstats
path: root/src/librsvg.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-02-16 02:18:23 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-02-16 02:18:23 (GMT)
commit0b1e593a495762c4b5a3bd063097bc981f087a4c (patch)
tree230d620befe11929f10c5d5f606c246a79e9e141 /src/librsvg.mk
parent7af76e7a89343eb3a523e3862fcecad2a3642cc6 (diff)
downloadmxe-0b1e593a495762c4b5a3bd063097bc981f087a4c.zip
mxe-0b1e593a495762c4b5a3bd063097bc981f087a4c.tar.gz
mxe-0b1e593a495762c4b5a3bd063097bc981f087a4c.tar.bz2
test program for package librsvg
Diffstat (limited to 'src/librsvg.mk')
-rw-r--r--src/librsvg.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/librsvg.mk b/src/librsvg.mk
index 6215235..0dc552c 100644
--- a/src/librsvg.mk
+++ b/src/librsvg.mk
@@ -34,4 +34,9 @@ define $(PKG)_BUILD
--without-croco \
--without-x
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -ansi -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-librsvg.exe' \
+ `'$(TARGET)-pkg-config' librsvg-2.0 --cflags --libs`
endef