Show
Ignore:
Timestamp:
02/12/07 03:15:52 (2 years ago)
Author:
vossg
Message:

fixed : apply additional libs/includes first

osg-config use win path for windows

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/osg-config.in

    r495 r532  
    8080 
    8181   (options, pos_args) = parser.parse_args()   
    82     
     82 
    8383   # Process simple single options 
    8484   if options.prefix: 
     
    8888      print version 
    8989      return 
    90     
     90 
    9191   # Try to find libname 
    9292   # - Try given name and name with OSG or OSGWindow prefix 
     
    101101               break 
    102102 
    103        
     103 
    104104   # Make sure we have libraries 
    105105   if len(libraries) == 0: 
     
    113113      options.lib_ext = "" 
    114114      options.libpath_prefix = "" 
    115     
     115 
    116116   # Create a configuration adapter for the required library 
    117117   default_lib_settings = LibraryInfo() 
    118118   default_lib_settings.libpath.insert(0, inst_lib_path)  
    119119   default_lib_settings.cpppath.insert(0, inst_inc_path) 
     120 
     121   lib_suffix = "" 
     122 
     123   if options.dbg: 
     124       lib_suffix = "_d" 
     125 
     126 
    120127   config_info = ConfigInfoAdapter(libraries, lib_map, default_lib_settings, 
    121                      options.inc_prefix, options.lib_prefix, options.libpath_prefix, 
    122                      "", options.lib_ext) 
    123              
     128                                   options.inc_prefix, options.lib_prefix,  
     129                                   options.libpath_prefix, lib_suffix, options.lib_ext) 
     130 
    124131   if options.cflags: 
    125132      print config_info.getIncPathStr()