1From d16abf61049947c451a6411a13fc15dda32feb47 Mon Sep 17 00:00:00 2001
2From: Florian Fainelli <f.fainelli@gmail.com>
3Date: Sat, 6 Sep 2014 11:23:02 -0700
4Subject: [PATCH] Makefile.in: fix asbolute symlink of libfaifa.so
5
6Fixes #7
7
8Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
9[Upstream: da2e279fd736d05bcd0ee6e4609c44fece017ba8]
10Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
11---
12 Makefile.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/Makefile.in b/Makefile.in
16index ba65bee..9dec7ee 100644
17--- a/Makefile.in
18+++ b/Makefile.in
19@@ -98,9 +98,9 @@ install: installman strip
20 	$(INSTALL) -m0755 hpav_cfg $(DESTDIR)$(sbindir)
21 	$(INSTALL) -d $(DESTDIR)$(libdir)
22 	$(INSTALL) -m0644 $(LIB_SONAME) $(DESTDIR)$(libdir)
23-	ln -sf $(DESTDIR)$(libdir)/$(LIB_SONAME) $(DESTDIR)$(libdir)/$(LIB_SHARED_SO)
24 	$(INSTALL) -d $(DESTDIR)$(includedir)/faifa
25 	cp $(HEADERS) $(DESTDIR)$(includedir)/faifa
26+	cd $(DESTDIR)$(libdir) && ln -sf $(LIB_SONAME) $(LIB_SHARED_SO)
27
28 strip:
29 	$(STRIP) $(APP)
30--
312.23.0
32
33