diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-25 13:26:02 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-25 13:26:02 +0100 |
| commit | 348bd64449843f70e08dd591c867973d83ea87eb (patch) | |
| tree | 831a18b17437f0d3d29f4097a5b3487aea3b8b01 /src/wrapped/wrappedlibxfixes.c | |
| parent | b36eca9792b55ccf038407470e480edc80daf543 (diff) | |
| download | box64-348bd64449843f70e08dd591c867973d83ea87eb.tar.gz box64-348bd64449843f70e08dd591c867973d83ea87eb.zip | |
Added a bunch of X11 related wrapped libs
Diffstat (limited to 'src/wrapped/wrappedlibxfixes.c')
| -rwxr-xr-x | src/wrapped/wrappedlibxfixes.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibxfixes.c b/src/wrapped/wrappedlibxfixes.c new file mode 100755 index 00000000..4ad17a8a --- /dev/null +++ b/src/wrapped/wrappedlibxfixes.c @@ -0,0 +1,26 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "wrapper.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" + +const char* libxfixesName = "libXfixes.so.3"; +#define LIBNAME libxfixes + +#define CUSTOM_INIT \ + lib->priv.w.needed = 4; \ + lib->priv.w.neededlibs = (char**)calloc(lib->priv.w.needed, sizeof(char*)); \ + lib->priv.w.neededlibs[0] = strdup("libX11.so.6"); \ + lib->priv.w.neededlibs[1] = strdup("libxcb.so.1"); \ + lib->priv.w.neededlibs[2] = strdup("libXau.so.6"); \ + lib->priv.w.neededlibs[3] = strdup("libXdmcp.so.6"); + +#include "wrappedlib_init.h" + |