#854: config/inter/progs.pm:  Figure out why -libpath: needs to be removed from
$linkflags and $ldflags
-----------------------+----------------------------------------------------
 Reporter:  jkeenan    |        Owner:  jkeenan 
     Type:  cage       |       Status:  reopened
 Priority:  minor      |    Milestone:          
Component:  configure  |      Version:  1.3.0   
 Severity:  low        |   Resolution:          
 Keywords:             |         Lang:          
    Patch:             |     Platform:          
-----------------------+----------------------------------------------------
Changes (by doughera):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Replying to [comment:6 Paul C. Anagnostopoulos]:
 > The only differences in those three files are the configuration dates.

 Ok, that just means that the patch is irrelevant for your configuration.

 Here's what I think is happening:  On some builds of Perl for Win32,
 ldflags includes -libpath.  For example, ActiveState's Perl, installed
 into the default location, has
 {{{
 ldflags='-nologo -nodefaultlib -debug -opt:ref,icf
 -libpath:"C:\Perl\lib\CORE"  -machine:x86';
 }}}

 On other builds of Perl for Win32, such as Strawberry Perl, the "-L" flag
 is used instead, so the code in question in Configure.pl does nothing.

 There is normally no reason for parrot to be linking against libraries
 stored in {{{C:\Perl\lib\CORE}}}, so it makes sense for parrot's
 Configure.pl to remove the entry {{{ -libpath:"C:\Perl\lib\CORE }}}.

 I think the patch should be reverted, and an explanatory comment added
 instead.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/854#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to