diff options
| author | Jackie Huang <jackie.huang@windriver.com> | 2017-04-26 16:22:06 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-04-27 11:14:58 +0200 |
| commit | 5f4191269065d701ac0ac9e1127797b60923226d (patch) | |
| tree | 454cd5feba20b4243cc12a5ecfccf6898feb265e /meta-oe/recipes-support/openipmi/files/makefile-add-ldflags.patch | |
| parent | ab68fcadbfa51e6cdd5edd950c4252da2d16de53 (diff) | |
| download | meta-openembedded-5f4191269065d701ac0ac9e1127797b60923226d.tar.gz | |
openipmi: add new recipe
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>
Diffstat (limited to 'meta-oe/recipes-support/openipmi/files/makefile-add-ldflags.patch')
| -rw-r--r-- | meta-oe/recipes-support/openipmi/files/makefile-add-ldflags.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/openipmi/files/makefile-add-ldflags.patch b/meta-oe/recipes-support/openipmi/files/makefile-add-ldflags.patch new file mode 100644 index 0000000000..271c5323fd --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/makefile-add-ldflags.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | Add LDFLAGS variable to Makefile.am, make sure the extra linker flags can be passed. | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | |||
| 5 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| 6 | |||
| 7 | diff --git a/swig/perl/Makefile.am b/swig/perl/Makefile.am | ||
| 8 | index 2f9ee4c..3a18892 100644 | ||
| 9 | --- a/swig/perl/Makefile.am | ||
| 10 | +++ b/swig/perl/Makefile.am | ||
| 11 | @@ -20,7 +20,7 @@ OpenIPMI_SRC = OpenIPMI_perl.c | ||
| 12 | OpenIPMI_OBJ = OpenIPMI_wrap.lo OpenIPMI_perl.lo | ||
| 13 | |||
| 14 | OpenIPMI.so: $(OpenIPMI_OBJ) | ||
| 15 | - $(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version -o $(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) $(PERL_POSIX_LIB) -rpath $(PERL_INSTALL_DIR)/auto/OpenIPMI | ||
| 16 | + $(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version $(LDFLAGS) -o $(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) $(PERL_POSIX_LIB) -rpath $(PERL_INSTALL_DIR)/auto/OpenIPMI | ||
| 17 | rm -f OpenIPMI.so | ||
| 18 | mv .libs/OpenIPMI.so . | ||
| 19 | |||
