# New Ticket Created by  Jeff Clites 
# Please include the string:  [perl #31927]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31927 >


Here is a patch with a few more fixes w.r.t. shared libs v. runtime 
loadable libs, mostly for the benefit of Mac OS X, plus a few 
miscellaneous related fixes.

config/auto/gmp.pl:
        add /sw/lib to ldflags if gmp is from Fink, so that 'make shared' 
works in that case

config/gen/makefiles/dynclasses.in:
        remove .o files upon 'make clean'

config/gen/makefiles/root.in:
        give LIBNCI_SO the LOAD_EXT instead of the SHARE_EXT
        get TEST_PROG_SO to like the shared libparrot
        have 'make clean' also do 'make clean' in dynclasses
        use LD_LOAD_FLAGS for LIBNCI_SO

config/init/hints/darwin.pl:
        set ${load_ext} to ".bundle" rather than ".so" on Mac OS X
        set ${ld} to "c++" so that shared libparrot will link on Mac OS X 
(since ICU has C++ inside)

t/library/parrotlib.t:
        use $PConfig{load_ext} rather than $PConfig{share_ext} for libnci

t/pmc/nci.t:
        use $PConfig{load_ext} rather than $PConfig{share_ext} for libnci


Attachment: parrot-load-fixes-2.patch
Description: application/text


JEff

Reply via email to