mirror of
https://github.com/mpv-player/mpv
synced 2025-03-06 14:17:46 +00:00
build: add custom -I/-L flags for the BSDs [2]
Fixup commit. .append() seems to to nothing.
This commit is contained in:
parent
f10cca0e88
commit
156dcbbeb1
8
wscript
8
wscript
@ -744,12 +744,12 @@ def configure(ctx):
|
|||||||
ctx.load('detections.devices')
|
ctx.load('detections.devices')
|
||||||
|
|
||||||
if ctx.env.DEST_OS in ('freebsd', 'openbsd'):
|
if ctx.env.DEST_OS in ('freebsd', 'openbsd'):
|
||||||
ctx.env.CFLAGS.append('-I/usr/local/include')
|
ctx.env.CFLAGS += ['-I/usr/local/include']
|
||||||
ctx.env.LINKFLAGS.append('-L/usr/local/lib')
|
ctx.env.LINKFLAGS += ['-L/usr/local/lib']
|
||||||
|
|
||||||
if ctx.env.DEST_OS == 'netbsd':
|
if ctx.env.DEST_OS == 'netbsd':
|
||||||
ctx.env.CFLAGS.append('-I/usr/pkg/include')
|
ctx.env.CFLAGS += ['-I/usr/pkg/include']
|
||||||
ctx.env.LINKFLAGS.append('-L/usr/pkg/lib')
|
ctx.env.LINKFLAGS += ['-L/usr/pkg/lib']
|
||||||
|
|
||||||
ctx.parse_dependencies(build_options)
|
ctx.parse_dependencies(build_options)
|
||||||
ctx.parse_dependencies(main_dependencies)
|
ctx.parse_dependencies(main_dependencies)
|
||||||
|
Loading…
Reference in New Issue
Block a user