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


This patch is required for pbc_merge on some platforms (HP-UX is the
one that I see it on), particularly when creating tcllib.

pbc_merge calls dynamically loaded pmc code which needs access to
symbols in the executable, such as const_string.

Cheers,

Nick
Index: config/gen/makefiles/root.in
===================================================================
--- config/gen/makefiles/root.in        (revision 9883)
+++ config/gen/makefiles/root.in        (working copy)
@@ -817,7 +817,7 @@
        $(LINK) ${ld_out}$(PBCMERGE) \
        $(SRC_DIR)/pbc_merge$(O) \
        $(SRC_DIR)/parrot_config$(O) \
-       $(LINKFLAGS) $(ALL_PARROT_LIBS)
+       $(LINKFLAGS) $(LINK_DYNAMIC) $(ALL_PARROT_LIBS)
 
 
 

Reply via email to