summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings
diff options
context:
space:
mode:
authorDarryl L. Pierce <mcpierce@apache.org>2013-06-25 17:52:43 +0000
committerDarryl L. Pierce <mcpierce@apache.org>2013-06-25 17:52:43 +0000
commit32ed52947104938555966576ae55139d3ce98c15 (patch)
tree1faa09cc8caea2ac332e8d06355627d27c25494d /qpid/cpp/bindings
parenta4f318d3c9846141496ec49c9da65b0b820c540a (diff)
downloadqpid-python-32ed52947104938555966576ae55139d3ce98c15.tar.gz
QPID-4939: Have Perl's Makefile.PL generate the Swig bindings.
As part of the Perl install process, Makefile.PL will generate the Swig bindings prior to performing an installation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496561 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings')
-rw-r--r--qpid/cpp/bindings/qpid/perl/Makefile.PL3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qpid/perl/Makefile.PL b/qpid/cpp/bindings/qpid/perl/Makefile.PL
index 7a4d7f03dc..e11545c7d2 100644
--- a/qpid/cpp/bindings/qpid/perl/Makefile.PL
+++ b/qpid/cpp/bindings/qpid/perl/Makefile.PL
@@ -5,6 +5,9 @@ use strict;
use ExtUtils::MakeMaker;
use Config;
+# generate the Swig wrappers for the Qpid libraries
+system('swig -perl -c++ -I/usr/include -o cqpid_perl.cpp perl.i');
+
WriteMakefile(
NAME => 'cqpid_perl',
PREREQ_PM => {},