Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changeset 1693

Show
Ignore:
Timestamp:
06/24/10 21:31:14 (14 years ago)
Author:
walter
Message:

add -dylib for OS X

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docsrc/dcompiler.dd

    r1638 r1693  
    438438        compiling for symbolic debugging instead of $(B $(LIB)) 
    439439      ) 
    440440      $(SWITCH $(B -defaultlib=)$(I libname), 
    441441        link in $(I libname) as the default library when 
    442442        not compiling for symbolic debugging instead of $(B $(LIB)) 
    443443      ) 
    444444      $(SWITCH $(B -deps=)$(I filename), 
    445445        write module dependencies as text to $(I filename) 
    446446      ) 
    447447 
     448    $(OSX 
     449      $(SWITCH $(B -dylib), 
     450        generate dylib library 
     451      ) 
     452    ) 
    448453    $(UNIX 
    449454      $(SWITCH $(B -fPIC), 
    450455        generate Position Independent Code (which is used 
    451456        for building shared libraries). 
    452457        $(OSX This is always on for OSX.) 
    453458      ) 
    454459    ) 
    455460 
    456461      $(SWITCH $(B -g), 
    457462    $(WINDOWS