Skip to content
Snippets Groups Projects
Commit 6d7297fc authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Makefile.am: Properly link examples with libvlc

This fixes the build with gcc 10
parent 62b68f97
No related branches found
No related tags found
1 merge request!8Fix examples linking
Pipeline #35522 passed with stage
in 50 seconds
......@@ -30,7 +30,6 @@ if HAVE_EXAMPLES
noinst_PROGRAMS = helloworld tests imem discovery
AM_CPPFLAGS = $(vlc_CFLAGS) -Wextra -Wall
AM_LDFLAGS = $(vlc_LIBS)
if HAVE_WERROR
# This is meant to make our builds fail if a deprecated method is present
......@@ -38,8 +37,12 @@ AM_CPPFLAGS += -Werror
endif
helloworld_SOURCES = examples/helloworld/main.cpp
helloworld_LDADD = $(vlc_LIBS)
imem_SOURCES = examples/imem/imem.cpp
imem_LDADD = $(vlc_LIBS)
tests_SOURCES = test/main.cpp
tests_LDADD = $(vlc_LIBS)
discovery_SOURCES = examples/renderers/discovery.cpp
discovery_LDADD = $(vlc_LIBS)
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment