# New Ticket Created by Michael Scott # Please include the string: [perl #24177] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24177 >
If someone happens to have dlcompat http://www.opendarwin.org/projects/dlcompat/ installed on OS X then the following patch will let Parrot be aware of this and use it. The following changes are made: config/auto/headers.pl Add dlfcn.h to @extra_headers so it will be detected even if dlcompat has been installed after Perl. config/gen/platform/darwin.c Add conditional code for PARROT_HAS_HEADER_DLFCN. config/init/hints/darwin.pl Add values for libs and so. dynext.c Replace SO_EXTENSION with PARROT_DLL_EXTENSION which is already defined in config.h. nci_test.c Remove #include <malloc.c> because it is unused. t/pmc/nci.t Remove the $PConfig{jitcpuarch} eq 'i386' condition from the SKIP conditional. conf/gen/makefiles/root.in Change libnci.so target to libnci and use $(SO). Running make libnci perl t/harness --running-make-test --gc-debug t/pmc/nci.t passes all tests with this patch applied. -- attachment 1 ------------------------------------------------------ url: http://rt.perl.org/rt2/attach/65884/49191/1922d1/dlcompat.patch
dlcompat.patch
Description: dlcompat.patch