1From 5a4abf223d79d4e1a58bbad1e4f2f406c7cab748 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Mon, 29 Dec 2014 18:16:04 +0800
4Subject: [PATCH] remove host path from la_LDFLAGS
5
6Upstream-Status: Inappropriate [ cross compile specific ]
7
8Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
9---
10 cmdlang/Makefile.am | 2 +-
11 unix/Makefile.am    | 4 ++--
12 2 files changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
15index 9cf180d..da46ceb 100644
16--- a/cmdlang/Makefile.am
17+++ b/cmdlang/Makefile.am
18@@ -18,7 +18,7 @@ libOpenIPMIcmdlang_la_LIBADD = -lm \
19 	$(top_builddir)/utils/libOpenIPMIutils.la \
20 	$(top_builddir)/lib/libOpenIPMI.la
21 libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
22-	-L$(libdir) -no-undefined
23+	-no-undefined
24
25 bin_PROGRAMS = openipmish
26
27diff --git a/unix/Makefile.am b/unix/Makefile.am
28index baf0815..80c3d5d 100644
29--- a/unix/Makefile.am
30+++ b/unix/Makefile.am
31@@ -11,13 +11,13 @@ libOpenIPMIpthread_la_SOURCES = posix_thread_os_hnd.c selector.c
32 libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \
33 	$(top_builddir)/utils/libOpenIPMIutils.la $(RT_LIB)
34 libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
35-	-L$(libdir) -no-undefined
36+	-no-undefined
37
38 libOpenIPMIposix_la_SOURCES = posix_os_hnd.c selector.c
39 libOpenIPMIposix_la_LIBADD = $(top_builddir)/utils/libOpenIPMIutils.la \
40 	$(GDBM_LIB) $(RT_LIB)
41 libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
42-	-L$(libdir) -no-undefined
43+	-no-undefined
44
45 noinst_HEADERS = heap.h
46
47--
482.17.1
49
50