Skip to content

Commit 65b3672

Browse files
smcvsezero
authored andcommitted
unix: Mark SDL_FRIBIDI_DYNAMIC as a weak dependency
Signed-off-by: Simon McVittie <[email protected]>
1 parent f7f33cb commit 65b3672

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/core/unix/SDL_fribidi.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
#include "SDL_fribidi.h"
2626
#include <fribidi.h>
2727

28+
SDL_ELF_NOTE_DLOPEN(
29+
"fribidi",
30+
"Bidirectional text support",
31+
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
32+
SDL_FRIBIDI_DYNAMIC
33+
);
34+
2835
SDL_FriBidi *SDL_FriBidi_Create(void) {
2936
SDL_FriBidi *fribidi;
3037

0 commit comments

Comments
 (0)