From b00bb21507449c5ca17a6648b700b2aa06691275 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 5 Sep 2024 06:46:14 -0700
Subject: [PATCH] Added -Wl,--no-undefined-version to Android.mk
Make sure we aren't missing any API entry points
---
Android.mk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Android.mk b/Android.mk
index ab14f101c4811..b662bbe5da1e8 100644
--- a/Android.mk
+++ b/Android.mk
@@ -30,8 +30,8 @@ LOCAL_SRC_FILES := \
$(wildcard $(LOCAL_PATH)/src/core/*.c) \
$(wildcard $(LOCAL_PATH)/src/core/android/*.c) \
$(wildcard $(LOCAL_PATH)/src/cpuinfo/*.c) \
- $(LOCAL_PATH)/src/dialog/SDL_dialog_utils.c \
- $(LOCAL_PATH)/src/dialog/android/SDL_androiddialog.c \
+ $(LOCAL_PATH)/src/dialog/SDL_dialog_utils.c \
+ $(LOCAL_PATH)/src/dialog/android/SDL_androiddialog.c \
$(wildcard $(LOCAL_PATH)/src/dynapi/*.c) \
$(wildcard $(LOCAL_PATH)/src/events/*.c) \
$(wildcard $(LOCAL_PATH)/src/file/*.c) \
@@ -98,7 +98,7 @@ LOCAL_CXXFLAGS += -std=gnu++11
LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -lOpenSLES -llog -landroid
-LOCAL_LDFLAGS := -Wl,--no-undefined -Wl,--version-script=$(LOCAL_PATH)/src/dynapi/SDL_dynapi.sym
+LOCAL_LDFLAGS := -Wl,--no-undefined -Wl,--no-undefined-version -Wl,--version-script=$(LOCAL_PATH)/src/dynapi/SDL_dynapi.sym
ifeq ($(NDK_DEBUG),1)
cmd-strip :=