[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: compiling back-perl with perl-5.8.0 (ITS#2946)
I forgot that attachments are not handled by ITS...
--- servers/slapd/back-perl/perl_back.h 2003/05/16 12:30:20 1.1
+++ servers/slapd/back-perl/perl_back.h 2003/05/16 12:30:33
@@ -29,9 +29,9 @@
# define PERL_BACK_XS_INIT_PARAMS pTHX
# define PERL_BACK_BOOT_DYNALOADER_PARAMS pTHX, CV *cv
#else
-# define PERL_INTERPRETER perl_interpreter
-# define PERL_BACK_XS_INIT_PARAMS void
-# define PERL_BACK_BOOT_DYNALOADER_PARAMS CV *cv
+# define PERL_INTERPRETER my_perl
+# define PERL_BACK_XS_INIT_PARAMS pTHX
+# define PERL_BACK_BOOT_DYNALOADER_PARAMS pTHX, CV *cv
#endif
extern PerlInterpreter *PERL_INTERPRETER;
--- servers/slapd/back-perl/Makefile.in 2003/05/16 14:32:25 1.1
+++ servers/slapd/back-perl/Makefile.in 2003/05/16 14:33:11
@@ -28,7 +28,7 @@
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
-UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
+UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) `perl -MExtUtils::Embed
-e ldopts`
LIBBASE = back_perl
Norbert