about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedalure.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-13 14:10:42 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-13 14:10:42 +0100
commitf3d3a8a8edc61fb2be201c05bfad727cb1888626 (patch)
tree334c5e44345c2e9322786aeef36c24a73ba0220c /src/wrapped/wrappedalure.c
parent721038513fb3f0065a64072db120f8d7256da4d8 (diff)
downloadbox64-f3d3a8a8edc61fb2be201c05bfad727cb1888626.tar.gz
box64-f3d3a8a8edc61fb2be201c05bfad727cb1888626.zip
Added wrapped libalut and libalure
Diffstat (limited to 'src/wrapped/wrappedalure.c')
-rwxr-xr-xsrc/wrapped/wrappedalure.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/wrapped/wrappedalure.c b/src/wrapped/wrappedalure.c
new file mode 100755
index 00000000..761651a8
--- /dev/null
+++ b/src/wrapped/wrappedalure.c
@@ -0,0 +1,23 @@
+#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* alureName = "libalure.so.1";
+#define LIBNAME alure
+
+#define CUSTOM_INIT \
+    lib->priv.w.needed = 1; \
+    lib->priv.w.neededlibs = (char**)calloc(lib->priv.w.needed, sizeof(char*)); \
+    lib->priv.w.neededlibs[0] = strdup("libopenal.so.1");
+
+#include "wrappedlib_init.h"
+