Commit 464849cd authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

Android.mk: make sure contrib-lib has precedence when linking

The contents of LOCAL_LDLIBS are added after the default linker-flags,
whereas LOCAL_LDFLAGS are added before, meaning that we previously
would link with the NDK libraries, even if libraries from contrib are
wanted.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 94b28e6c
......@@ -4,8 +4,8 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libvlc
ARCH=$(APP_ABI)
LOCAL_SRC_FILES += libvlcjni-modules.c libvlcjni-symbols.c dummy.cpp
LOCAL_LDFLAGS := -L$(VLC_CONTRIB)/lib
LOCAL_LDLIBS := \
-L$(VLC_CONTRIB)/lib \
$(VLC_MODULES) \
$(VLC_BUILD_DIR)/lib/.libs/libvlc.a \
$(VLC_BUILD_DIR)/src/.libs/libvlccore.a \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment