[Android] buildsystem: remove page size from static libraries

Steve Lhomme git at videolan.org
Tue Jun 24 10:32:39 UTC 2025


vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 19 13:34:48 2025 +0200| [b5387e2e8f0ab054ea841a3c1005fbf176d1922a] | committer: Steve Lhomme

buildsystem: remove page size from static libraries

LDFLAGS is not used for static libraries.

> https://code.videolan.org/videolan/vlc-android/commit/b5387e2e8f0ab054ea841a3c1005fbf176d1922a
---

 buildsystem/compile-medialibrary.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/buildsystem/compile-medialibrary.sh b/buildsystem/compile-medialibrary.sh
index dc0bb853ef..a7ab889df8 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -77,7 +77,6 @@ if [ ! -e ./config.status ] || [ "$RELEASE" = "1" ]; then
     --disable-shared \
     CFLAGS="${VLC_CFLAGS}" \
     CXXFLAGS="${VLC_CFLAGS} ${VLC_CXXFLAGS}" \
-    LDFLAGS="-Wl,-z,max-page-size=16384" \
     CC="${CROSS_CLANG}" \
     CXX="${CROSS_CLANG}++"
 fi
@@ -146,7 +145,6 @@ fi
 if [ ! -d "build-android-$ANDROID_ABI/" ] || [ ! -f "build-android-$ANDROID_ABI/build.ninja" ]; then
     PKG_CONFIG_LIBDIR="$LIBVLCJNI_SRC_DIR/vlc/build-android-${TARGET_TUPLE}/install/lib/pkgconfig" \
     PKG_CONFIG_PATH="$SRC_DIR/medialibrary/prefix/${TARGET_TUPLE}/lib/pkgconfig:$LIBVLCJNI_SRC_DIR/vlc/contrib/$TARGET_TUPLE/lib/pkgconfig/" \
-    LDFLAGS="-Wl,-z,max-page-size=16384" \
     meson \
         -Ddebug=true \
         -Doptimization=${MEDIALIBRARY_OPTIMIZATION} \



More information about the Android mailing list