Commit 66ad43d1 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

configure.ac: Don't link with -ladvapi32 when building for winstore

The functions we're trying to link with are already present in
libwinstorecompat
parent a51c896c
......@@ -1127,7 +1127,10 @@ AH_BOTTOM([
AX_APPEND_COMPILE_FLAGS([-fstack-protector-strong])
AX_APPEND_COMPILE_FLAGS([-fstack-protector-strong], [CXXFLAGS])
dnl Win32 requires linking to ssp for stack-protection
AS_IF([test "${SYS}" = "mingw32"], [ LDFLAGS="${LDFLAGS} -lssp -ladvapi32" ])
AS_IF([test "${SYS}" = "mingw32"], [
LDFLAGS="${LDFLAGS} -lssp"
AS_IF([test "${vlc_winstore_app}" != 1], [LDFLAGS="${LDFLAGS} -ladvapi32"])
])
])
VLC_SAVE_FLAGS
......
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