From f287d29ebed4d5b5d25178d08e6946316c5f4454 Mon Sep 17 00:00:00 2001 From: Christopher Covington Date: Fri, 7 Feb 2014 12:04:36 -0500 Subject: Fix library build A user may have necessary linker directories specified in CFLAGS. Make sure to include them. Change-Id: I76c2a7bd6e34cc282bfcd5f83cc69ae7fa2c8cc2 Signed-off-by: Pavel Emelyanov --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index aec6d841a..a590126eb 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -4,7 +4,7 @@ obj-ext-src-y += protobuf/rpc.pb-c.o includes += -iquote $(obj)/../arch/$(ARCH)/include -iquote $(obj)/../include -iquote $(obj)/.. -iquote $(obj)/../protobuf cflags-y += $(includes) -fPIC -Wa,--noexecstack -fno-stack-protector -cflags-so += -rdynamic -Wl,-soname,$(lib-so).so.$(VERSION_SO_MAJOR) +cflags-so += $(CFLAGS) -rdynamic -Wl,-soname,$(lib-so).so.$(VERSION_SO_MAJOR) ldflags-so += -lprotobuf-c .SECONDARY: -- cgit v1.2.3