mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Only emit dlopen note for SDL_FRIBIDI_DYNAMIC if not a hard dependency
Fixes: 65b36721 "unix: Mark SDL_FRIBIDI_DYNAMIC as a weak dependency"
Thanks: Anonymous Maarten
This commit is contained in:
parent
65b367216e
commit
1c1f7082ab
1 changed files with 2 additions and 0 deletions
|
|
@ -25,12 +25,14 @@
|
|||
#include "SDL_fribidi.h"
|
||||
#include <fribidi.h>
|
||||
|
||||
#ifdef SDL_FRIBIDI_DYNAMIC
|
||||
SDL_ELF_NOTE_DLOPEN(
|
||||
"fribidi",
|
||||
"Bidirectional text support",
|
||||
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
|
||||
SDL_FRIBIDI_DYNAMIC
|
||||
);
|
||||
#endif
|
||||
|
||||
SDL_FriBidi *SDL_FriBidi_Create(void) {
|
||||
SDL_FriBidi *fribidi;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue