]> git.pld-linux.org Git - packages/efivar.git/blame - efivar-static.patch
- added static patch, fixes shared libs packaging
[packages/efivar.git] / efivar-static.patch
CommitLineData
7d8a73df
JB
1--- efivar-0.21/src/Makefile.orig 2015-07-13 22:00:06.000000000 +0200
2+++ efivar-0.21/src/Makefile 2015-09-12 09:24:38.062055687 +0200
3@@ -5,11 +5,12 @@
4 include $(TOPDIR)/Make.version
5
6 LIBTARGETS = $(foreach x,libefivar libefiboot,$(x).so.$(VERSION) $(x).so.$(MAJOR_VERSION))
7+STATICLIBTARGETS = libefivar.a libefiboot.a
8 PCTARGETS = efivar.pc efiboot.pc
9 BINTARGETS = efivar
10 INCTARGETS = include/efivar/efivar-guids.h
11 all : $(EFIVAR_DEPS) $(INCTARGETS) deps
12-all : $(LIBTARGETS) $(PCTARGETS) $(BINTARGETS) libefiboot.so
13+all : $(LIBTARGETS) $(STATICLIBTARGETS) $(PCTARGETS) $(BINTARGETS) libefiboot.so
14 @$(MAKE) -C test TOPDIR=$(TOPDIR) SRCDIR=$(SRCDIR)/test $@
15
16 EFIVAR_OBJECTS = dp.o dp-acpi.o dp-hw.o dp-media.o dp-message.o \
17@@ -89,6 +90,7 @@
18 install : all
19 $(INSTALL) -d -m 755 $(DESTDIR)$(libdir)
20 $(foreach x, $(LIBTARGETS), $(INSTALL) -m 755 $(x) $(DESTDIR)$(libdir);)
21+ $(foreach x, $(STATICLIBTARGETS), $(INSTALL) -m 644 $(x) $(DESTDIR)$(libdir);)
22 $(INSTALL) -d -m 755 $(DESTDIR)$(PCDIR)
23 $(foreach x, $(PCTARGETS), $(INSTALL) -m 644 $(x) $(DESTDIR)$(PCDIR) ;)
24 $(INSTALL) -d -m 755 $(DESTDIR)$(includedir)/efivar
This page took 0.055997 seconds and 4 git commands to generate.