Skip to content
Snippets Groups Projects
Commit ebdb5b21 authored by Alberto Massari's avatar Alberto Massari
Browse files

Define SWIG macro in the generated makefile

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@464398 13f79535-47bb-0310-9956-ffa450edef68
parent 981057ee
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@
use strict;
my @MACRO;
my $BLIB_DIR = '../blib/lib/XML/Xerces';
if ($XERCES_DEVEL) {
print STDERR "\tWelcome Xerces Developer!\n";
......@@ -41,6 +43,11 @@ TERMINUS
return $retval;
}
my $swig = $SWIG || 'swig';
@MACRO = ('macro' => {
'SWIG' => "$swig",
});
*MY::postamble = \&Xerces_IO_postamble;
}
......@@ -54,6 +61,7 @@ WriteMakefile(
'CC' => $CXX,
'SKIP' => [qw( test makeaperl xs_o)],
@OPTIMIZE,
@MACRO,
@LDFLAGS,
);
......@@ -15,6 +15,7 @@
#
use strict;
my @MACRO;
my $BLIB_DIR = '../blib/lib/XML/Xerces';
if ($XERCES_DEVEL) {
......@@ -41,6 +42,11 @@ TERMINUS
return $retval;
}
my $swig = $SWIG || 'swig';
@MACRO = ('macro' => {
'SWIG' => "$swig",
});
*MY::postamble = \&Xerces_SAX_postamble;
}
......@@ -54,6 +60,7 @@ WriteMakefile(
'CC' => $CXX,
'SKIP' => [qw( test makeaperl xs_o)],
@OPTIMIZE,
@MACRO,
@LDFLAGS,
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment