From 33735aec520aba776c09b458844a8ce2ca94ff6a Mon Sep 17 00:00:00 2001 From: Fabio Porcedda Date: Tue, 10 Feb 2015 18:59:36 +0100 Subject: [PATCH] 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 --- package/rtmpdump/rtmpdump.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2