kumquat-buildroot/package/dvb-apps/0003-support-static-only-build.patch
Romain Naour d8b275b5db package/dvb-apps: rename patches to follow the new name convention
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-02 13:20:49 +01:00

21 lines
434 B
Diff

Make.rules: don't build .so libraries when static=1
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/Make.rules
===================================================================
--- a/Make.rules
+++ b/Make.rules
@@ -9,7 +9,11 @@
CFLAGS_LIB ?= -fPIC
CFLAGS += $(CFLAGS_LIB)
+ifeq ($(static),1)
+libraries = $(lib_name).a
+else
libraries = $(lib_name).so $(lib_name).a
+endif
.PHONY: library