1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00

build: remove BSD-specific /usr/local include path additions

It seems it's generally cleaner to leave this stuff to the BSDs.
Additionally, the NetBSD part wasn't even correct, because it made the
compiler prefer the system include path before local include files.
This commit is contained in:
wm4 2014-06-20 22:37:41 +02:00
parent 8ce73ebbe0
commit fd64bcbe8e

View File

@ -813,14 +813,6 @@ def configure(ctx):
ctx.load('detections.compiler')
ctx.load('detections.devices')
if ctx.env.DEST_OS in ('freebsd', 'openbsd'):
ctx.env.CFLAGS += ['-I.', '-I..', '-I/usr/local/include']
ctx.env.LINKFLAGS += ['-L/usr/local/lib']
if ctx.env.DEST_OS == 'netbsd':
ctx.env.CFLAGS += ['-I/usr/pkg/include']
ctx.env.LINKFLAGS += ['-L/usr/pkg/lib']
ctx.parse_dependencies(build_options)
ctx.parse_dependencies(main_dependencies)
ctx.parse_dependencies(audio_output_features)