mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 13:46:16 +00:00
23 lines
888 B
Diff
23 lines
888 B
Diff
--- a/build/moz.configure/toolchain.configure
|
|
+++ b/build/moz.configure/toolchain.configure
|
|
@@ -1256,7 +1256,7 @@
|
|
):
|
|
wrapper = list(compiler_wrapper or ())
|
|
flags = []
|
|
- if sysroot.path:
|
|
+ if False:
|
|
if host_or_target.kernel == "Darwin":
|
|
# While --sysroot and -isysroot are roughly equivalent, when not using
|
|
# -isysroot on mac, clang takes the SDKROOT environment variable into
|
|
--- a/build/moz.configure/pkg.configure
|
|
+++ b/build/moz.configure/pkg.configure
|
|
@@ -60,7 +60,7 @@
|
|
@imports(_from="os", _import="environ")
|
|
@imports(_from="os", _import="pathsep")
|
|
def pkg_config_vars(target, sysroot_path, multiarch_dir):
|
|
- if sysroot_path and target.kernel != "Darwin":
|
|
+ if False:
|
|
pkgconfig_dirs = [
|
|
"usr/lib/pkgconfig",
|
|
"usr/lib/{}/pkgconfig".format(multiarch_dir),
|