Unverified 提交 ddcd72f1 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo 提交者: GitHub

meson: remove -Db_pie=true -Db_staticpic=true args (#1293)

上级 160b19c4
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
* Avoid modification of user input data ([PR #1285](https://github.com/versatica/mediasoup/pull/1285)). * Avoid modification of user input data ([PR #1285](https://github.com/versatica/mediasoup/pull/1285)).
* `ListenInfo`: Add transport socket flags ([PR #1291](https://github.com/versatica/mediasoup/pull/1291)). * `ListenInfo`: Add transport socket flags ([PR #1291](https://github.com/versatica/mediasoup/pull/1291)).
* Meson: Remove `-Db_pie=true -Db_staticpic=true` args ([PR #1293](https://github.com/versatica/mediasoup/pull/1293)).
### 3.13.13 ### 3.13.13
......
...@@ -142,7 +142,7 @@ def setup(ctx): ...@@ -142,7 +142,7 @@ def setup(ctx):
if MEDIASOUP_BUILDTYPE == 'Release': if MEDIASOUP_BUILDTYPE == 'Release':
with ctx.cd(WORKER_DIR): with ctx.cd(WORKER_DIR):
ctx.run( ctx.run(
f'"{MESON}" setup --prefix "{MEDIASOUP_INSTALL_DIR}" --bindir "" --libdir "" --buildtype release -Db_ndebug=true -Db_pie=true -Db_staticpic=true {MESON_ARGS} "{BUILD_DIR}"', f'"{MESON}" setup --prefix "{MEDIASOUP_INSTALL_DIR}" --bindir "" --libdir "" --buildtype release -Db_ndebug=true {MESON_ARGS} "{BUILD_DIR}"',
echo=True, echo=True,
pty=PTY_SUPPORTED, pty=PTY_SUPPORTED,
shell=SHELL shell=SHELL
...@@ -150,7 +150,7 @@ def setup(ctx): ...@@ -150,7 +150,7 @@ def setup(ctx):
elif MEDIASOUP_BUILDTYPE == 'Debug': elif MEDIASOUP_BUILDTYPE == 'Debug':
with ctx.cd(WORKER_DIR): with ctx.cd(WORKER_DIR):
ctx.run( ctx.run(
f'"{MESON}" setup --prefix "{MEDIASOUP_INSTALL_DIR}" --bindir "" --libdir "" --buildtype debug -Db_pie=true -Db_staticpic=true {MESON_ARGS} "{BUILD_DIR}"', f'"{MESON}" setup --prefix "{MEDIASOUP_INSTALL_DIR}" --bindir "" --libdir "" --buildtype debug {MESON_ARGS} "{BUILD_DIR}"',
echo=True, echo=True,
pty=PTY_SUPPORTED, pty=PTY_SUPPORTED,
shell=SHELL shell=SHELL
...@@ -158,7 +158,7 @@ def setup(ctx): ...@@ -158,7 +158,7 @@ def setup(ctx):
else: else:
with ctx.cd(WORKER_DIR): with ctx.cd(WORKER_DIR):
ctx.run( ctx.run(
f'"{MESON}" setup --prefix "{MEDIASOUP_INSTALL_DIR}" --bindir "" --libdir "" --buildtype {MEDIASOUP_BUILDTYPE} -Db_ndebug=if-release -Db_pie=true -Db_staticpic=true {MESON_ARGS} "{BUILD_DIR}"', f'"{MESON}" setup --prefix "{MEDIASOUP_INSTALL_DIR}" --bindir "" --libdir "" --buildtype {MEDIASOUP_BUILDTYPE} -Db_ndebug=if-release {MESON_ARGS} "{BUILD_DIR}"',
echo=True, echo=True,
pty=PTY_SUPPORTED, pty=PTY_SUPPORTED,
shell=SHELL shell=SHELL
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论