aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/openipmi/files/openipmi-don-t-rm-.libs.patch
blob: ee3c66043390a5e486b8b475a6522c803fda14b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From bbd51cf010c80322034f7094e2c6a656aa1f17a7 Mon Sep 17 00:00:00 2001
From: Wenzong Fan <wenzong.fan@windriver.com>
Date: Fri, 13 Feb 2015 06:55:33 +0000
Subject: [PATCH] openipmi: don't rm .libs

Don't remove .libs after OpenIPMI.so generated, this may cause
dummystuff.so fails to link from the second build with error:

* error: .libs/dummystuff.o: No such file or directory

Upstream-Status: Pending

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 swig/perl/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/swig/perl/Makefile.am b/swig/perl/Makefile.am
index 12a282c..2f9ee4c 100644
--- a/swig/perl/Makefile.am
+++ b/swig/perl/Makefile.am
@@ -23,7 +23,6 @@ OpenIPMI.so: $(OpenIPMI_OBJ)
 	$(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version -o $(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) $(PERL_POSIX_LIB) -rpath $(PERL_INSTALL_DIR)/auto/OpenIPMI
 	rm -f OpenIPMI.so
 	mv .libs/OpenIPMI.so .
-	rm -rf .libs
 
 dummystuff.lo: dummystuff.c
 	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
-- 
1.9.1