Help for this page

Select Code to Download


  1. or download this
    my ($str) = $input =~ m#^-L(((?!\s*-).)*)#;
    $input =~ s#-lmylib#$str/mylib.a#;
    
  2. or download this
    #
    # Input         : -L/usr/local/lib -lmylib -lz
    ...
    # The meat
    my ($str) = $input =~ m#^-L(((?!\s*-).)*)#;
    $input =~ s#-lmylib#$str/mylib.a#;