mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
17 lines
396 B
Python
17 lines
396 B
Python
import SCons
|
|
|
|
|
|
def generate(env):
|
|
|
|
env['AR'] = 'libtool'
|
|
env['ARCOM'] = '$AR -static -o $TARGET $ARFLAGS $SOURCES'
|
|
env['ARFLAGS'] = ["-s", "-no_warning_for_no_symbols"]
|
|
|
|
# Disable running ranlib, since we added 's' above
|
|
env['RANLIBCOM'] = ''
|
|
env['RANLIBCOMSTR'] = 'Skipping ranlib for libtool generated target $TARGET'
|
|
|
|
|
|
def exists(env):
|
|
return env.detect('libtool')
|