mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-23 07:45:38 +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:
committed by
Özkan Sezer
parent
65b367216e
commit
1c1f7082ab
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user