Merge pull request #172 from lantw44/master

Fix dlwrap for FreeBSD
macos/v1.5.9
Emmanuele Bassi 6 years ago committed by GitHub
commit 737b691870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      test/dlwrap.c
  2. 5
      test/meson.build

@ -242,7 +242,8 @@ dlwrap_real_dlsym(void *handle, const char *name)
"GLIBC_2.3",
"GLIBC_2.2.5",
"GLIBC_2.2",
"GLIBC_2.0"
"GLIBC_2.0",
"FBSD_1.0"
};
int num_versions = sizeof(version) / sizeof(version[0]);
int i;

@ -5,10 +5,13 @@ has_gles1 = gles1_dep.found()
has_gles2 = gles2_dep.found()
build_x11_tests = enable_x11 and x11_dep.found()
test_cflags = common_cflags + [
test_cflags = common_cflags
if not has_dlvsym
test_cflags += [
'-D_XOPEN_SOURCE',
'-D_POSIX_C_SOURCE=200809L',
]
endif
# Unconditionally built tests
test('header_guards',

Loading…
Cancel
Save