Changeset 392

Show
Ignore:
Timestamp:
06/16/07 07:38:59 (2 years ago)
Author:
blackhedd
Message:

Oops. Put it in the wrong branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/ext/extconf.rb

    r391 r392  
    123123  CONFIG['LDSHARED'] = "$(CXX) -shared" 
    124124 
     125  # Modify the mkmf constant LINK_SO so the generated shared object is stripped. 
     126  # You might think modifying CONFIG['LINK_SO'] would be a better way to do this, 
     127  # but it doesn't work because mkmf doesn't look at CONFIG['LINK_SO'] again after 
     128  # it initializes. 
     129  linkso = Object.send :remove_const, "LINK_SO" 
     130  LINK_SO = linkso + "; strip $@" 
     131 
    125132else 
    126133  unless have_library('pthread') 
     
    143150  CONFIG['LDSHARED'] = "$(CXX) -shared" 
    144151 
    145   # Modify the mkmf constant LINK_SO so the generated shared object is stripped. 
    146   # You might think modifying CONFIG['LINK_SO'] would be a better way to do this, 
    147   # but it doesn't work because mkmf doesn't look at CONFIG['LINK_SO'] again after 
    148   # it initializes. 
    149   linkso = Object.send :remove_const, "LINK_SO" 
    150   LINK_SO = linkso + "; strip $@" 
    151152end 
    152153