Re: Two XS modules linked to one .a library.
[email protected] Wed, 1 Oct 2014 00:36:30 +1000
| Newsgroups | perl.xs |
|---|---|
| Message-ID | <F91445A742D249A2B5C06A9FF6AB1045@OwnerPC311012> |
From: Bill Moseley Sent: Tuesday, September 30, 2014 10:39 PM > Is there potential for symbols to "clash" in this situation? No. It should not be possible for the set up you described to result in a "clash" of XS symbols, no matter how hard you try. The XS symbols are private to both modules - it doesn't matter if identical symbols exist. IIUC, you'd have to have one module's .so also load the other module's .so (which, I think, can be achieved using ExtUtils::Depends in the build process) in order to stand a chance of creating a clash. Cheers, Rob