diff options
author | Christopher Covington <cov@codeaurora.org> | 2014-02-07 21:04:36 +0400 |
---|---|---|
committer | Pavel Emelyanov <xemul@parallels.com> | 2014-02-10 14:31:53 +0400 |
commit | f287d29ebed4d5b5d25178d08e6946316c5f4454 (patch) | |
tree | 45e4ae7e0d3eca21a0c130d30fde2047fbe61064 /lib | |
parent | b0549064c1456e322dcb008a55103a0cb81300f7 (diff) |
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 <xemul@parallels.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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: |