Make sure prefs directory option is properly formed in scons recipe.

This commit is contained in:
Eric S. Raymond 2008-03-24 04:54:47 +00:00
parent 6952bdb6e7
commit 948553bb4c

View file

@ -42,7 +42,7 @@ if env['raw_sockets']:
env["CXXFLAGS"].append("-DNETWORK_USE_RAW_SOCKETS")
if env['prefsdir']:
env["CXXFLAGS"].append("-DPREFERENCES_DIR='%s'" % env['prefsdir'])
env["CXXFLAGS"].append("-DPREFERENCES_DIR='\"%s\"'" % env['prefsdir'])
cc_version = env["CCVERSION"]
if env["CC"] == "gcc":