]> git.pld-linux.org Git - packages/efivar.git/blob - efivar-static.patch
15dd5d316b39879e5b93d3c7892b4ca9a37f45a2
[packages/efivar.git] / efivar-static.patch
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.028187 seconds and 2 git commands to generate.