#NEWLINE# def fix_env( self , env ) : #NEWLINE# #INDENT# if ( sys . platform == 'darwin' ) : #NEWLINE# #INDENT# lib_dir = os . path . join ( self . sdk_directory , 'lib' ) #NEWLINE# envsetter = qisys . envsetter . EnvSetter ( build_env = env ) #NEWLINE# envsetter . prepend_directory_to_variable ( lib_dir , 'DYLD_LIBRARY_PATH' ) #NEWLINE# envsetter . prepend_directory_to_variable ( self . sdk_directory , 'DYLD_FRAMEWORK_PATH' ) #NEWLINE# env = envsetter . get_build_env ( ) #NEWLINE# #UNINDENT# return env