Revision 14e7af6b1df9abac944080232aa41ca3b98a8fe4 authored by Christoph Reiter on 01 August 2018, 16:54:01 UTC, committed by Christoph Reiter on 01 August 2018, 17:05:04 UTC
The gresource code uses libelf if available but that also depends on mmap but isn't
guarded with HAVE_MMAP. This can make the build fail under MSYS2 where a mingw version
of libelf exists but there is no mmap.

Instead of guarting the libelf code with HAVE_LIBELF add a new macro named USE_LIBELF
which is only defined if libelf and mmap support are available.

Also install the mingw libelf version for CI so we catch similar errors in the future.
There exists a mingw build of libelf in msys2 and if available
1 parent 83a4cab
History
File Mode Size
collate
gobject
refcount
.gitignore -rw-r--r-- 938 bytes
Makefile.am -rw-r--r-- 4.3 KB
assert-msg-test.c -rw-r--r-- 92 bytes
assert-msg-test.gdb -rw-r--r-- 135 bytes
asyncqueue-test.c -rw-r--r-- 5.8 KB
atomic-test.c -rw-r--r-- 1.7 KB
bit-test.c -rw-r--r-- 2.8 KB
casefold.txt -rw-r--r-- 11.3 KB
casemap.txt -rw-r--r-- 85.4 KB
child-test.c -rw-r--r-- 4.3 KB
completion-test.c -rw-r--r-- 2.5 KB
cxx-test.C -rw-r--r-- 114 bytes
datetime.c -rw-r--r-- 1.1 KB
dirname-test.c -rw-r--r-- 3.1 KB
env-test.c -rw-r--r-- 3.5 KB
file-test.c -rw-r--r-- 6.2 KB
gen-casefold-txt.py -rwxr-xr-x 2.5 KB
gen-casemap-txt.py -rwxr-xr-x 8.4 KB
gio-test.c -rw-r--r-- 9.6 KB
iochannel-test-infile -rw-r--r-- 62 bytes
iochannel-test.c -rw-r--r-- 3.9 KB
libmoduletestplugin_a.c -rw-r--r-- 1.9 KB
libmoduletestplugin_b.c -rw-r--r-- 1.9 KB
mainloop-test.c -rw-r--r-- 9.0 KB
mapping-test.c -rw-r--r-- 6.6 KB
memchunks.c -rw-r--r-- 16.9 KB
meson.build -rw-r--r-- 303 bytes
module-test.c -rw-r--r-- 5.6 KB
onceinit.c -rw-r--r-- 10.0 KB
qsort-test.c -rw-r--r-- 589 bytes
relation-test.c -rw-r--r-- 3.8 KB
run-assert-msg-test.sh -rwxr-xr-x 1.1 KB
run-collate-tests.sh -rwxr-xr-x 873 bytes
slice-color.c -rw-r--r-- 4.8 KB
slice-concurrent.c -rw-r--r-- 3.3 KB
slice-test.c -rw-r--r-- 9.6 KB
slice-threadinit.c -rw-r--r-- 5.7 KB
sources.c -rw-r--r-- 5.0 KB
spawn-test-win32-gui.c -rw-r--r-- 3.2 KB
spawn-test.c -rw-r--r-- 7.2 KB
testgdate.c -rw-r--r-- 15.8 KB
testgdateparser.c -rw-r--r-- 1.9 KB
testglib.c -rw-r--r-- 51.6 KB
thread-test.c -rw-r--r-- 11.0 KB
threadpool-test.c -rw-r--r-- 11.4 KB
timeloop-basic.c -rw-r--r-- 4.2 KB
timeloop.c -rw-r--r-- 4.5 KB
type-test.c -rw-r--r-- 3.6 KB
unicode-caseconv.c -rw-r--r-- 3.0 KB
unicode-collate.c -rw-r--r-- 2.5 KB
unicode-encoding.c -rw-r--r-- 9.4 KB
unicode-normalize.c -rw-r--r-- 4.3 KB
utf8.txt -rw-r--r-- 3.1 KB

back to top