blob: ce37d5eb28f0ed554cc72ba5eb4352da4beb26cd [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From 6395659ca6d64b20bf78bb640c2cc523d6c1d9c2 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: 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---
Brad Bishop15ae2502019-06-18 21:44:24 -040010 cmdlang/Makefile.am | 3 +--
11 unix/Makefile.am | 6 ++----
12 2 files changed, 3 insertions(+), 6 deletions(-)
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013
Brad Bishop15ae2502019-06-18 21:44:24 -040014diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
15index d9a941f..21b9531 100644
16--- a/cmdlang/Makefile.am
17+++ b/cmdlang/Makefile.am
18@@ -15,8 +15,7 @@ libOpenIPMIcmdlang_la_SOURCES = cmdlang.c cmd_domain.c cmd_entity.c cmd_mc.c \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019 libOpenIPMIcmdlang_la_LIBADD = -lm \
20 $(top_builddir)/utils/libOpenIPMIutils.la \
21 $(top_builddir)/lib/libOpenIPMI.la
22-libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
23- -L$(libdir)
24+libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION)
25
26 bin_PROGRAMS = openipmish
27
Brad Bishop15ae2502019-06-18 21:44:24 -040028diff --git a/unix/Makefile.am b/unix/Makefile.am
29index 5128839..bd0f897 100644
30--- a/unix/Makefile.am
31+++ b/unix/Makefile.am
32@@ -10,14 +10,12 @@ lib_LTLIBRARIES = libOpenIPMIposix.la libOpenIPMIpthread.la
Brad Bishopd7bf8c12018-02-25 22:55:05 -050033 libOpenIPMIpthread_la_SOURCES = posix_thread_os_hnd.c selector.c
34 libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \
35 $(top_builddir)/utils/libOpenIPMIutils.la $(RT_LIB)
36-libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
37- -L$(libdir)
38+libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION)
39
40 libOpenIPMIposix_la_SOURCES = posix_os_hnd.c selector.c
41 libOpenIPMIposix_la_LIBADD = $(top_builddir)/utils/libOpenIPMIutils.la \
42 $(GDBM_LIB) $(RT_LIB)
43-libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
44- -L$(libdir)
45+libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION)
46
47 noinst_HEADERS = heap.h
48