Browse Source

test: Makefile.am: define TOP_BUILDDIR in CPPFLAGS

TOP_BUILDDIR is used in particular to setup VLC_PLUGIN_PATH in a static
way.
pull/162/head
Alexandre Janniaux 3 years ago
committed by Steve Lhomme
parent
commit
dffc018f30
  1. 4
      test/Makefile.am

4
test/Makefile.am

@ -100,7 +100,9 @@ check_HEADERS = libvlc/test.h libvlc/libvlc_additions.h libvlc/media_utils.h \
TESTS = $(check_PROGRAMS) check_POTFILES.sh
AM_CPPFLAGS = -DSRCDIR=\"$(srcdir)\"
AM_CPPFLAGS = \
-DSRCDIR=\"$(srcdir)\" \
-DTOP_BUILDDIR=\"$(abs_top_builddir)\"
AM_LDFLAGS = -no-install $(LDFLAGS_vlc)
LIBVLCCORE = -L../src/ -lvlccore
LIBVLC = -L../lib -lvlc

Loading…
Cancel
Save