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 <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015.08.x
Fabio Porcedda 2015-02-10 18:59:36 +01:00 committed by Thomas Petazzoni
parent f1927896c2
commit 33735aec52
1 changed files with 1 additions and 1 deletions

View File

@ -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