Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $input =~ s!^-L(.+)\s+\K-l(.+)(?=\s+.+)!$1/$2.a!;
    
    print $input;
    
  2. or download this
    -L/usr/local/lib /usr/local/lib/mylib.a -lz