Changeset 1696

Show
Ignore:
Timestamp:
10/21/08 00:24:18 (3 months ago)
Author:
Chuck.Esterbrook
Message:

Fix new bug on Mono+posix side.
Test case already exists.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Source/Compiler.cobra

    r1694 r1696  
    768768                        return refs 
    769769 
    770                 parts = output.replace('-ref:', '\0').split(c'\0') 
     770                parts = output.replace('-r:', '\0').split(c'\0')  # while Cobra uses -ref:, pkg-config outputs -r: 
    771771                for part in parts 
    772772                        if part.trim <> '', refs.add(part.trim) 
     
    793793                        if .verbosity > 0 
    794794                                print 'Loading reference:', reference 
     795                        assert not (reference.startsWith('-r') and '-r' in reference[2:]) 
    795796                        if false 
    796797                                # Does not work on Novell Mono. See notes above.