blob: 175b9872f63dcdab2fe2425aeecac1ed619a363e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#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"
#ifdef ANDROID
const char* libxftName = "libXft.so";
#else
const char* libxftName = "libXft.so.2";
#endif
#define LIBNAME libxft
#ifdef ANDROID
#define CUSTOM_INIT \
setNeededLibs(lib, 4, \
"libX11.so", \
"libfontconfig.so", \
"libXrender.so", \
"libfreetype.so");
#else
#define CUSTOM_INIT \
setNeededLibs(lib, 4, \
"libX11.so.6", \
"libfontconfig.so.1", \
"libXrender.so.1", \
"libfreetype.so.6");
#endif
#include "wrappedlib_init.h"
|