mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
build script: update opusfile target
add linking with opus and ogg libraries to .pc file ignore opusurl.pc file
This commit is contained in:
parent
4eed3e3272
commit
2d10cd23e9
2 changed files with 2 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -18,6 +18,7 @@
|
||||||
/deps/nasm/bin/ndisasm
|
/deps/nasm/bin/ndisasm
|
||||||
/deps/openal/lib/cmake/
|
/deps/openal/lib/cmake/
|
||||||
/deps/opusfile/lib/libopusurl.a
|
/deps/opusfile/lib/libopusurl.a
|
||||||
|
/deps/opusfile/lib/pkgconfig/opusurl.pc
|
||||||
/deps/pcre/bin/
|
/deps/pcre/bin/
|
||||||
/deps/pcre/lib/pkgconfig/libpcreposix.pc
|
/deps/pcre/lib/pkgconfig/libpcreposix.pc
|
||||||
/deps/pcre/lib/libpcreposix.a
|
/deps/pcre/lib/libpcreposix.a
|
||||||
|
|
1
build.py
1
build.py
|
@ -881,6 +881,7 @@ class OpusFileTarget(ConfigureMakeStaticDependencyTarget):
|
||||||
def __init__(self, name='opusfile'):
|
def __init__(self, name='opusfile'):
|
||||||
super().__init__(name)
|
super().__init__(name)
|
||||||
self.options['--enable-http'] = 'no'
|
self.options['--enable-http'] = 'no'
|
||||||
|
self.pkg_libs = {'opusfile': '-lopus -logg'}
|
||||||
|
|
||||||
def prepare_source(self, builder: 'Builder'):
|
def prepare_source(self, builder: 'Builder'):
|
||||||
builder.download_source(
|
builder.download_source(
|
||||||
|
|
Loading…
Reference in a new issue