mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Newest GCC linker requires that every necessary library must be explicitly mentioned - no implicit linking allowed.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
parent
16c23bbf4e
commit
28231fee98
@ -1,6 +1,6 @@
|
||||
bin_PROGRAMS = vcmiclient
|
||||
|
||||
vcmiclient_LDADD = $(top_builddir)/lib/libvcmi.la @SDL_LIBS@ @FFMPEG_LIBS@ @BOOST_PROGRAM_OPTIONS_LIB@
|
||||
vcmiclient_LDADD = $(top_builddir)/lib/libvcmi.la @SDL_LIBS@ @FFMPEG_LIBS@ @BOOST_PROGRAM_OPTIONS_LIB@ -lrt
|
||||
vcmiclient_CXXFLAGS = @SDL_CXXFLAGS@ @FFMPEG_CXXFLAGS@
|
||||
vcmiclient_LDFLAGS = -L$(top_builddir)/lib
|
||||
vcmiclient_SOURCES = \
|
||||
|
@ -273,7 +273,7 @@ target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
vcmiclient_LDADD = $(top_builddir)/lib/libvcmi.la @SDL_LIBS@ @FFMPEG_LIBS@ @BOOST_PROGRAM_OPTIONS_LIB@
|
||||
vcmiclient_LDADD = $(top_builddir)/lib/libvcmi.la @SDL_LIBS@ @FFMPEG_LIBS@ @BOOST_PROGRAM_OPTIONS_LIB@ -lrt
|
||||
vcmiclient_CXXFLAGS = @SDL_CXXFLAGS@ @FFMPEG_CXXFLAGS@
|
||||
vcmiclient_LDFLAGS = -L$(top_builddir)/lib
|
||||
vcmiclient_SOURCES = \
|
||||
|
2
configure
vendored
2
configure
vendored
@ -16287,7 +16287,7 @@ saved_CFLAGS=$CFLAGS
|
||||
FFMPEG_CXXFLAGS=""
|
||||
FFMPEG_LIBS=
|
||||
|
||||
LIBS="$LIBS `pkg-config --libs libavformat libswscale`"
|
||||
LIBS="$LIBS `pkg-config --libs libavcodec libavformat libavutil libswscale`"
|
||||
CFLAGS="$CFLAGS `pkg-config --cflags libavformat libswscale`"
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_open_input_file in -lavformat" >&5
|
||||
|
@ -86,7 +86,7 @@ saved_CFLAGS=$CFLAGS
|
||||
FFMPEG_CXXFLAGS=""
|
||||
FFMPEG_LIBS=
|
||||
|
||||
LIBS="$LIBS `pkg-config --libs libavformat libswscale`"
|
||||
LIBS="$LIBS `pkg-config --libs libavcodec libavformat libavutil libswscale`"
|
||||
CFLAGS="$CFLAGS `pkg-config --cflags libavformat libswscale`"
|
||||
|
||||
AC_CHECK_LIB(avformat,av_open_input_file,,AC_MSG_ERROR([FFMpeg avformat library not found. Please install it.]))
|
||||
|
@ -1,6 +1,6 @@
|
||||
bin_PROGRAMS = vcmiserver
|
||||
|
||||
vcmiserver_LDADD = $(top_builddir)/lib/libvcmi.la
|
||||
vcmiserver_LDADD = $(top_builddir)/lib/libvcmi.la -lrt
|
||||
vcmiserver_CXXFLAGS = @SDL_CXXFLAGS@
|
||||
vcmiserver_LDFLAGS = -L$(top_builddir)/lib
|
||||
vcmiserver_SOURCES = \
|
||||
|
@ -250,7 +250,7 @@ target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
vcmiserver_LDADD = $(top_builddir)/lib/libvcmi.la
|
||||
vcmiserver_LDADD = $(top_builddir)/lib/libvcmi.la -lrt
|
||||
vcmiserver_CXXFLAGS = @SDL_CXXFLAGS@
|
||||
vcmiserver_LDFLAGS = -L$(top_builddir)/lib
|
||||
vcmiserver_SOURCES = \
|
||||
|
Loading…
Reference in New Issue
Block a user