Export DynaLoader symbols from libperl again
authorReini Urban <rurban@x-ray.at>
Tue, 27 Sep 2011 11:45:37 +0000 (06:45 -0500)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 30 Sep 2011 22:52:28 +0000 (15:52 -0700)
With 5.15.2 and the new xubpp, DynaLoader symbols were XS_INTERNAL, before
they were effectively XS_EXTERNAL. This broke B::C and possibly other
embedded apps which link to DynaLoader functions.

ext/DynaLoader/dlutils.c

index 1ba9a61..574ccad 100644 (file)
@@ -8,6 +8,7 @@
  *                      files when the interpreter exits
  */
 
+#define PERL_EUPXS_ALWAYS_EXPORT
 #ifndef START_MY_CXT /* Some IDEs try compiling this standalone. */
 #   include "EXTERN.h"
 #   include "perl.h"