aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch
blob: 1aea32eaecf0e915840cdee9364c45c3cc94c9ab (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
From 5a4abf223d79d4e1a58bbad1e4f2f406c7cab748 Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Mon, 29 Dec 2014 18:16:04 +0800
Subject: [PATCH] remove host path from la_LDFLAGS

Upstream-Status: Inappropriate [ cross compile specific ]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 cmdlang/Makefile.am | 2 +-
 unix/Makefile.am    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
index 9cf180d..da46ceb 100644
--- a/cmdlang/Makefile.am
+++ b/cmdlang/Makefile.am
@@ -18,7 +18,7 @@ libOpenIPMIcmdlang_la_LIBADD = -lm \
 	$(top_builddir)/utils/libOpenIPMIutils.la \
 	$(top_builddir)/lib/libOpenIPMI.la
 libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
-	-L$(libdir) -no-undefined
+	-no-undefined
 
 bin_PROGRAMS = openipmish
 
diff --git a/unix/Makefile.am b/unix/Makefile.am
index baf0815..80c3d5d 100644
--- a/unix/Makefile.am
+++ b/unix/Makefile.am
@@ -11,13 +11,13 @@ libOpenIPMIpthread_la_SOURCES = posix_thread_os_hnd.c selector.c
 libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \
 	$(top_builddir)/utils/libOpenIPMIutils.la $(RT_LIB)
 libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
-	-L$(libdir) -no-undefined
+	-no-undefined
 
 libOpenIPMIposix_la_SOURCES = posix_os_hnd.c selector.c
 libOpenIPMIposix_la_LIBADD = $(top_builddir)/utils/libOpenIPMIutils.la \
 	$(GDBM_LIB) $(RT_LIB)
 libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
-	-L$(libdir) -no-undefined
+	-no-undefined
 
 noinst_HEADERS = heap.h
 
-- 
2.17.1