ALT Linux Bugzilla
– Attachment 15074 Details for
Bug 48486
openipmi-perl: perl XS does not link with -lperl
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
openipmi-2.0.33-alt-link-with-libperl.patch
openipmi-2.0.33-alt-link-with-libperl.patch (text/plain), 1.31 KB, created by
viy
on 2023-11-17 15:33:08 MSK
(
hide
)
Description:
openipmi-2.0.33-alt-link-with-libperl.patch
Filename:
MIME Type:
Creator:
viy
Created:
2023-11-17 15:33:08 MSK
Size:
1.31 KB
patch
obsolete
>diff --git a/configure.ac b/configure.ac >index 330ab8dc..2d34c0e4 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -512,12 +512,17 @@ else > PERL_POSIX_LIB='$(top_builddir)/unix/libOpenIPMIposix.la' > PERL_POSIX_SO='$(top_builddir)/unix/.libs/libOpenIPMIposix.so' > fi >+PERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts | perl -e 'print join(" ",grep{!/^[-]l/i} split(/\s+/,<>));'` >+PERL_LIBS=`perl -MExtUtils::Embed -e ldopts | perl -e 'print join(" ",grep{/^[-]l/i} split(/\s+/,<>));'` >+ > AC_SUBST(PERL_DIR) > AC_SUBST(PERL_CFLAGS) > AC_SUBST(PERL_INSTALL_DIR) > AC_SUBST(PERL_HAS_POSIX_THREADS) > AC_SUBST(PERL_POSIX_LIB) > AC_SUBST(PERL_POSIX_SO) >+AC_SUBST(PERL_LDFLAGS) >+AC_SUBST(PERL_LIBS) > > # Handle PYTHON support > PYTHON_DIR= >diff --git a/swig/perl/Makefile.am b/swig/perl/Makefile.am >index 537fc1b6..209bb0ce 100644 >--- a/swig/perl/Makefile.am >+++ b/swig/perl/Makefile.am >@@ -14,7 +14,8 @@ noinst_LTLIBRARIES = libOpenIPMI.la > > nodist_libOpenIPMI_la_SOURCES = OpenIPMI_wrap.c > libOpenIPMI_la_SOURCES = OpenIPMI_perl.c >-libOpenIPMI_la_LDFLAGS = -rpath /nowhere -no-undefined >+libOpenIPMI_la_LDFLAGS = -rpath /nowhere -no-undefined $(PERL_LDFLAGS) >+libOpenIPMI_la_LIBADD = $(PERL_LIBS) > > OpenIPMI_wrap.c OpenIPMI.pm: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i > $(SWIG) $(DEFS) -perl5 -o OpenIPMI_wrap.c -I$(top_srcdir)/swig/perl $<
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48486
: 15074