From 8db73c61a7b24bc4f4d3d415bea2990d17d16354 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Tue, 28 Aug 2012 16:06:56 +0100 Subject: build: allow non-standard variations of linker -l/-L flags This enables replacing the -l and -L flags used to specify the just-built libraries when linking the tools and shared libs with non-standard syntaxes. System library flags are already handled by the filtering mechanism in configure. Signed-off-by: Mans Rullgard --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b766e6d00d..77d51eb8d5 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ CCFLAGS = $(CPPFLAGS) $(CFLAGS) ASFLAGS := $(CPPFLAGS) $(ASFLAGS) YASMFLAGS += $(IFLAGS:%=%/) -I$(SRC_PATH)/libavutil/x86/ -Pconfig.asm HOSTCCFLAGS = $(IFLAGS) $(HOSTCFLAGS) -LDFLAGS := $(ALLFFLIBS:%=-Llib%) $(LDFLAGS) +LDFLAGS := $(ALLFFLIBS:%=$(LD_PATH)lib%) $(LDFLAGS) define COMPILE $(call $(1)DEP,$(1)) -- cgit v1.2.3