mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
5f41912690
OpenIPMI is an effort to create a full-function IPMI system to allow full access to all IPMI information on a server and to abstract it to a level that will make it easy to use. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
20 lines
818 B
Diff
20 lines
818 B
Diff
Add LDFLAGS variable to Makefile.am, make sure the extra linker flags can be passed.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
|
|
|
diff --git a/swig/perl/Makefile.am b/swig/perl/Makefile.am
|
|
index 2f9ee4c..3a18892 100644
|
|
--- a/swig/perl/Makefile.am
|
|
+++ b/swig/perl/Makefile.am
|
|
@@ -20,7 +20,7 @@ OpenIPMI_SRC = OpenIPMI_perl.c
|
|
OpenIPMI_OBJ = OpenIPMI_wrap.lo OpenIPMI_perl.lo
|
|
|
|
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
|
|
+ $(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version $(LDFLAGS) -o $(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) $(PERL_POSIX_LIB) -rpath $(PERL_INSTALL_DIR)/auto/OpenIPMI
|
|
rm -f OpenIPMI.so
|
|
mv .libs/OpenIPMI.so .
|
|
|