mirror of
https://github.com/servo/servo.git
synced 2025-06-09 17:13:24 +00:00
Fix OS-Mesa discovery in debug mode.
This commit is contained in:
parent
ccfc60161b
commit
2108fa026e
1 changed files with 2 additions and 2 deletions
|
@ -434,7 +434,7 @@ class MachCommands(CommandBase):
|
|||
# add it to the dynamic linker search path.
|
||||
if sys.platform.startswith('linux'):
|
||||
try:
|
||||
args = [self.get_binary_path(True, False)]
|
||||
args = [self.get_binary_path(kwargs["release"], not kwargs["release"])]
|
||||
osmesa_path = path.join(find_dep_path_newest('osmesa-src', args[0]), "out", "lib", "gallium")
|
||||
os.environ["LD_LIBRARY_PATH"] = osmesa_path
|
||||
os.environ["GALLIUM_DRIVER"] = "softpipe"
|
||||
|
@ -444,7 +444,7 @@ class MachCommands(CommandBase):
|
|||
pass
|
||||
if sys.platform.startswith('darwin'):
|
||||
try:
|
||||
args = [self.get_binary_path(True, False)]
|
||||
args = [self.get_binary_path(kwargs["release"], not kwargs["release"])]
|
||||
osmesa_path = path.join(find_dep_path_newest('osmesa-src', args[0]),
|
||||
"out", "src", "gallium", "targets", "osmesa", ".libs")
|
||||
glapi_path = path.join(find_dep_path_newest('osmesa-src', args[0]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue