diff options
| author | Romain Naour <romain.naour@openwide.fr> | 2014-12-27 22:58:26 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-01-02 13:20:49 +0100 |
| commit | d8b275b5dbc4ec51ed49a19f544696814898455e (patch) | |
| tree | bbeb13e4305e7293ce9435b3ea214f4a9ac25d48 /package/dvb-apps/0003-support-static-only-build.patch | |
| parent | 0ad2d6691962b4deceee4224d513c38647fbdbe6 (diff) | |
| download | buildroot-d8b275b5dbc4ec51ed49a19f544696814898455e.tar.gz buildroot-d8b275b5dbc4ec51ed49a19f544696814898455e.zip | |
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>
Diffstat (limited to 'package/dvb-apps/0003-support-static-only-build.patch')
| -rw-r--r-- | package/dvb-apps/0003-support-static-only-build.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/dvb-apps/0003-support-static-only-build.patch b/package/dvb-apps/0003-support-static-only-build.patch new file mode 100644 index 0000000000..236f1a32f6 --- /dev/null +++ b/package/dvb-apps/0003-support-static-only-build.patch @@ -0,0 +1,20 @@ +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 + |

