Commit fe017418 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix linking for mod plugin

parent 5559ca8a
......@@ -2454,7 +2454,7 @@ then
dnl Use a custom mod
AC_MSG_RESULT(${real_mod_tree}/src/.libs/libmodplug.a)
VLC_ADD_PLUGINS([mod])
VLC_ADD_LDFLAGS([mod],[${real_mod_tree}/src/.libs/libmodplug.ah -lstdc++])
VLC_ADD_LDFLAGS([mod],[${real_mod_tree}/src/.libs/libmodplug.a -lstdc++])
VLC_ADD_CXXFLAGS([mod],[-I${real_mod_tree}/include])
else
dnl The given mod wasn't built
......@@ -2465,7 +2465,7 @@ then
AC_CHECK_HEADERS(libmodplug/modplug.h, [
VLC_ADD_PLUGINS([mod])
VLC_ADD_CXXFLAGS([mod],[])
VLC_ADD_LDFLAGS([mod],[-lmodplug])])
VLC_ADD_LDFLAGS([mod],[-lmodplug -lstdc++])])
fi
fi
......
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