Bug 1235675 - Add the source directory to the -include directive in media/libsoundtouch/src/moz.build. r=mshal

This currently works in the recursive make backend because make readjusts with
the vpath to the source directory, but for other backends (like CompileDB),
the lack of clear path hurts. In fact, CompileDB currently reports the path as
being in the objdir.
This commit is contained in:
Mike Hommey 2015-12-30 08:18:02 +09:00
parent e8fe7e84e4
commit a9e75088c0

View File

@ -37,7 +37,7 @@ if CONFIG['INTEL_ARCHITECTURE']:
if CONFIG['OS_ARCH'] != 'WINNT':
# GCC/Clang require permissions to be explicitly set for the soundtouch
# header.
CXXFLAGS += ['-include', 'soundtouch_perms.h']
CXXFLAGS += ['-include', SRCDIR + '/soundtouch_perms.h']
else:
# Windows need alloca renamed to _alloca
DEFINES['alloca'] = '_alloca'