Changeset 392
- Timestamp:
- 06/16/07 07:38:59 (2 years ago)
- Files:
-
- version_0/ext/extconf.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
version_0/ext/extconf.rb
r391 r392 123 123 CONFIG['LDSHARED'] = "$(CXX) -shared" 124 124 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 125 132 else 126 133 unless have_library('pthread') … … 143 150 CONFIG['LDSHARED'] = "$(CXX) -shared" 144 151 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 after148 # it initializes.149 linkso = Object.send :remove_const, "LINK_SO"150 LINK_SO = linkso + "; strip $@"151 152 end 152 153
