Subject: | typemap finding is broken without ExtUtils::ParseXS |
Date: | Wed, 19 Mar 2008 14:37:21 -0700 |
To: | bug-Module-Build [...] rt.cpan.org |
From: | Michael G Schwern <schwern [...] pobox.com> |
I just noticed that the typemap finding code (the stuff without
ExtUtils::ParseXS) is looking in lib/ and then passes on just "-typemap
typemap" to xsubpp rather than the full path. This results in xsubpp looking
in the top directory for typemap. So custom typemaps can never work.
I believe the correct thing to do is to look in dirname($file) (ie. lib/Foo)
and to pass the full typemap path to xsubpp. I'll patch that in as soon as I
fix SVK.
--
94. Crucifixes do not ward off officers, and I should not test that.
-- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
http://skippyslist.com/list/