mirror of https://git.wownero.com/dsc/mxe.git
test program for package librsvg
This commit is contained in:
parent
7af76e7a89
commit
0b1e593a49
|
@ -0,0 +1,17 @@
|
|||
/* This file is part of mingw-cross-env. */
|
||||
/* See doc/index.html for further information. */
|
||||
|
||||
#include <librsvg/rsvg.h>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
RsvgHandle* handle;
|
||||
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
handle = rsvg_handle_new();
|
||||
rsvg_handle_free(handle);
|
||||
|
||||
return 0;
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue