mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
build: add custom -I/-L flags for the BSDs
Apparently this is needed for stuff like iconv.
This commit is contained in:
parent
b5e7169a0f
commit
69220aa1cd
8
wscript
8
wscript
@ -743,6 +743,14 @@ def configure(ctx):
|
||||
ctx.load('detections.cpu')
|
||||
ctx.load('detections.devices')
|
||||
|
||||
if ctx.env.DEST_OS in ('freebsd', 'openbsd'):
|
||||
ctx.env.CFLAGS.append('-I/usr/local/include')
|
||||
ctx.env.LINKFLAGS.append('-L/usr/local/lib')
|
||||
|
||||
if ctx.env.DEST_OS == 'netbsd':
|
||||
ctx.env.CFLAGS.append('-I/usr/pkg/include')
|
||||
ctx.env.LINKFLAGS.append('-L/usr/pkg/lib')
|
||||
|
||||
ctx.parse_dependencies(build_options)
|
||||
ctx.parse_dependencies(main_dependencies)
|
||||
ctx.parse_dependencies(audio_output_features)
|
||||
|
Loading…
Reference in New Issue
Block a user