Skip to content

Commit

Permalink
- must take into account empty $LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
mathes committed Feb 15, 2010
1 parent deb130d commit f0f7b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# SConstruct for GPSDisplay base directory
#
# $Id: SConstruct,v 1.4 2009/08/10 15:05:53 avr Exp $
# $Id: SConstruct,v 1.5 2010/02/15 17:06:30 mathes Exp $
#

import os
Expand Down Expand Up @@ -49,7 +49,7 @@ Help(opts.GenerateHelpText(env))
# we need those propably to run our tools
#
env.Append(ENV = {'PATH' : os.environ['PATH']})
env.Append(ENV = {'LD_LIBRARY_PATH' : os.environ['LD_LIBRARY_PATH']})
env.Append(ENV = {'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH','')})
env.Append(ENV = {'HOME' : os.environ['HOME']})

# set some global variables and build options
Expand Down

0 comments on commit f0f7b57

Please sign in to comment.