3 -fPIC is needed to build shared library code.
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 ===================================================================
12 SHARED_LIBNAME_VERSION = $(SHARED_LIBNAME).$(VERSION)
13 SHARED_LIBNAME_MAJOR = $(SHARED_LIBNAME).$(shell echo $(VERSION) | cut -f1 -d.)
14 SHARED_LIBNAME_FLAGS = -shared -Wl,-soname,$(SHARED_LIBNAME_MAJOR)
17 ifeq ($(BUILD_STATIC),yes)
18 BUILD_RULES += lib_static