From: Jaroslav Kysela Date: Tue, 6 Oct 2015 16:34:17 +0000 (+0200) Subject: Makefile: fix compilation on ARM (-ldl for x264) X-Git-Tag: v4.2.1~1976 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a0681bfa0cb0a31828b0b420ddbf69a4b22dfc5;p=thirdparty%2Ftvheadend.git Makefile: fix compilation on ARM (-ldl for x264) --- diff --git a/Makefile b/Makefile index 8b982645f..300917add 100644 --- a/Makefile +++ b/Makefile @@ -73,9 +73,9 @@ LDFLAGS += ${LDFLAGS_FFDIR}/libvorbisenc.a LDFLAGS += ${LDFLAGS_FFDIR}/libvorbis.a LDFLAGS += ${LDFLAGS_FFDIR}/libogg.a ifeq ($(CONFIG_LIBX264_STATIC),yes) -LDFLAGS += ${LDFLAGS_FFDIR}/libx264.a +LDFLAGS += ${LDFLAGS_FFDIR}/libx264.a -ldl else -LDFLAGS += -lx264 +LDFLAGS += -lx264 -ldl endif ifeq ($(CONFIG_LIBX265),yes) ifeq ($(CONFIG_LIBX265_STATIC),yes)