Skip to content

Commit

Permalink
Makefile.am: fix linking xiph with ogg
Browse files Browse the repository at this point in the history
The internal static xiph library needs to link with libogg. Otherwise
building mpd will fail:

```
/mips-linux-gnu/bin/ld: libxiph.a(libxiph_a-OggVisitor.o): undefined
reference to symbol 'ogg_stream_packetout'
```

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
  • Loading branch information
joerg-krause authored and MaxKellermann committed Jan 17, 2017
1 parent dcbab8e commit 21fd206
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,8 @@ libxiph_a_SOURCES += \
src/lib/xiph/OggStreamState.hxx
endif

XIPH_LIBS = libxiph.a
XIPH_LIBS = libxiph.a \
$(OGG_LIBS)

endif

Expand Down

0 comments on commit 21fd206

Please sign in to comment.