Skip to content

Commit

Permalink
fix CLI build with autotools
Browse files Browse the repository at this point in the history
  • Loading branch information
ToadKing committed May 24, 2020
1 parent 9da8b93 commit a533947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sed -i -e "s/EXTRA_DIST =.*/EXTRA_DIST = $AUDACIOUS_HDRS/g" ./audacious/Makefile
# again, not very pretty
VGMSTREAM_VERSION=`./version.sh`
sed -i -e "s/VGMSTREAM_VERSION/$VGMSTREAM_VERSION/g" ./audacious/Makefile.autotools.am

sed -i -e "s/VGMSTREAM_VERSION/$VGMSTREAM_VERSION/g" ./cli/Makefile.autotools.am

# create fake files expected by automake and process
touch README AUTHORS NEWS ChangeLog
Expand Down
2 changes: 1 addition & 1 deletion cli/Makefile.autotools.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if HAVE_LIBAO
bin_PROGRAMS += vgmstream123
endif

AM_CFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/ext_includes/ $(AO_CFLAGS)
AM_CFLAGS = -DVERSION=\"VGMSTREAM_VERSION\" -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/ext_includes/ $(AO_CFLAGS)
AM_MAKEFLAGS = -f Makefile.autotools

vgmstream_cli_SOURCES = vgmstream_cli.c
Expand Down

0 comments on commit a533947

Please sign in to comment.