summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-20 22:37:41 +0200
committerwm4 <wm4@nowhere>2014-06-20 22:37:41 +0200
commitfd64bcbe8e9cbbfa3d977731cfe3aa4d32d20fe5 (patch)
treecba9db5a0e64ea22359fed82d4275ebfafdcf4b4 /wscript
parent8ce73ebbe0167a7a6fd3555a9fe24b4f8f3202e2 (diff)
downloadmpv-fd64bcbe8e9cbbfa3d977731cfe3aa4d32d20fe5.tar.bz2
mpv-fd64bcbe8e9cbbfa3d977731cfe3aa4d32d20fe5.tar.xz
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.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 0 insertions, 8 deletions
diff --git a/wscript b/wscript
index 6c5963387e..18d9b5c242 100644
--- a/wscript
+++ b/wscript
@@ -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)