View | Details | Raw Unified | Return to bug 48486
Collapse All | Expand All

(-)a/configure.ac (+5 lines)
Lines 512-523 else Link Here
512
   PERL_POSIX_LIB='$(top_builddir)/unix/libOpenIPMIposix.la'
512
   PERL_POSIX_LIB='$(top_builddir)/unix/libOpenIPMIposix.la'
513
   PERL_POSIX_SO='$(top_builddir)/unix/.libs/libOpenIPMIposix.so'
513
   PERL_POSIX_SO='$(top_builddir)/unix/.libs/libOpenIPMIposix.so'
514
fi
514
fi
515
PERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts | perl -e 'print join(" ",grep{!/^[-]l/i} split(/\s+/,<>));'`
516
PERL_LIBS=`perl -MExtUtils::Embed -e ldopts | perl -e 'print join(" ",grep{/^[-]l/i} split(/\s+/,<>));'`
517
515
AC_SUBST(PERL_DIR)
518
AC_SUBST(PERL_DIR)
516
AC_SUBST(PERL_CFLAGS)
519
AC_SUBST(PERL_CFLAGS)
517
AC_SUBST(PERL_INSTALL_DIR)
520
AC_SUBST(PERL_INSTALL_DIR)
518
AC_SUBST(PERL_HAS_POSIX_THREADS)
521
AC_SUBST(PERL_HAS_POSIX_THREADS)
519
AC_SUBST(PERL_POSIX_LIB)
522
AC_SUBST(PERL_POSIX_LIB)
520
AC_SUBST(PERL_POSIX_SO)
523
AC_SUBST(PERL_POSIX_SO)
524
AC_SUBST(PERL_LDFLAGS)
525
AC_SUBST(PERL_LIBS)
521
526
522
# Handle PYTHON support
527
# Handle PYTHON support
523
PYTHON_DIR=
528
PYTHON_DIR=
(-)a/swig/perl/Makefile.am (-1 / +2 lines)
Lines 14-20 noinst_LTLIBRARIES = libOpenIPMI.la Link Here
14
14
15
nodist_libOpenIPMI_la_SOURCES = OpenIPMI_wrap.c
15
nodist_libOpenIPMI_la_SOURCES = OpenIPMI_wrap.c
16
libOpenIPMI_la_SOURCES = OpenIPMI_perl.c
16
libOpenIPMI_la_SOURCES = OpenIPMI_perl.c
17
libOpenIPMI_la_LDFLAGS = -rpath /nowhere -no-undefined
17
libOpenIPMI_la_LDFLAGS = -rpath /nowhere -no-undefined $(PERL_LDFLAGS)
18
libOpenIPMI_la_LIBADD = $(PERL_LIBS)
18
19
19
OpenIPMI_wrap.c OpenIPMI.pm: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i
20
OpenIPMI_wrap.c OpenIPMI.pm: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i
20
	$(SWIG) $(DEFS) -perl5 -o OpenIPMI_wrap.c -I$(top_srcdir)/swig/perl $<
21
	$(SWIG) $(DEFS) -perl5 -o OpenIPMI_wrap.c -I$(top_srcdir)/swig/perl $<

Return to bug 48486