Makefile: Fix libraries link order.
authorKarthik Ramanan <a0393906@ti.com>
Mon, 31 Oct 2016 09:56:42 +0000 (15:26 +0530)
committerKarthik Ramanan <a0393906@ti.com>
Mon, 31 Oct 2016 09:56:42 +0000 (15:26 +0530)
On Poky based builds, without this change, it results in the following error:

undefined reference to symbol 'av_bitstream_filter_init@@LIBAVCODEC_54'

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
util/Makefile.am

index a14c0796d7645a175e0d6dd99cb4f6c95db5e32b..23f868d3d27f28dd05bf04d5a74dd6ed7d937af3 100644 (file)
@@ -37,7 +37,7 @@ endif
 if ENABLE_WAYLAND
 libutil_la_SOURCES += display-wayland.c wayland-drm-protocol.c wayland-scaler-protocol.c
 libutil_la_CFLAGS = @DRM_CFLAGS@
-libutil_la_LDFLAGS = -lwayland-client -lwayland-cursor -ldrm -ldrm_omap -lpthread -lpvr_wlegl
+libutil_la_LDFLAGS = -lwayland-client -lwayland-cursor -ldrm -ldrm_omap -lpthread -lpvr_wlegl -lavcodec
 
 endif