From: Fabio Porcedda Date: Tue, 10 Feb 2015 17:59:36 +0000 (+0100) Subject: rtmpdump: use TARGET_LDFLAGS instead of TARGET_CFLAGS for XLDFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33735aec520aba776c09b458844a8ce2ca94ff6a;p=buildroot.git rtmpdump: use TARGET_LDFLAGS instead of TARGET_CFLAGS for XLDFLAGS The XLDFLAGS is for ld related flags so use TARGET_LDFLAGS instead of TARGET_CFLAGS, also the TARGET_CFLAGS is already used for XCFLAGS. This fix is also needed for supporting the per-package staging directory. Signed-off-by: Fabio Porcedda Signed-off-by: Thomas Petazzoni --- diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index 14037fb18f..613f1cd49e 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -39,7 +39,7 @@ define RTMPDUMP_BUILD_CMDS $(MAKE) CRYPTO=$(RTMPDUMP_CRYPTO) \ prefix=/usr \ XCFLAGS="$(RTMPDUMP_CFLAGS)" \ - XLDFLAGS="$(TARGET_CFLAGS)" \ + XLDFLAGS="$(TARGET_LDFLAGS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ $(RTMPDUMP_SHARED) \ -C $(@D)/librtmp