diff --git a/recipes/ffmpeg/__init__.py b/recipes/ffmpeg/__init__.py index 9c7aafc..77ada6c 100644 --- a/recipes/ffmpeg/__init__.py +++ b/recipes/ffmpeg/__init__.py @@ -39,18 +39,6 @@ class FFMpegRecipe(Recipe): "--extra-ldflags={}".format(build_env["LDFLAGS"]), *options, _env=build_env) - shprint(sh.sed, - "-i.bak", - "s/HAVE_CLOSESOCKET=yes//g", - "config.mak") - shprint(sh.sed, - "-i.bak", - "s/#define HAVE_CLOSESOCKET 1//g", - "config.h") - shprint(sh.sed, - "-i.bak", - "s/%define HAVE_CLOSESOCKET 1//g", - "config.asm") shprint(sh.make, "clean", _env=build_env) shprint(sh.make, "-j3", _env=build_env) shprint(sh.make, "install") diff --git a/recipes/python/__init__.py b/recipes/python/__init__.py index 0c40576..4cacf69 100644 --- a/recipes/python/__init__.py +++ b/recipes/python/__init__.py @@ -40,7 +40,7 @@ class PythonRecipe(Recipe): "CC={}".format(build_env["CC"]), "LD={}".format(build_env["LD"]), "CFLAGS={}".format(build_env["CFLAGS"]), - "LDFLAGS={}".format(build_env["LDFLAGS"]), + "LDFLAGS={} -undefined dynamic_lookup".format(build_env["LDFLAGS"]), "--without-pymalloc", "--disable-toolbox-glue", "--host={}-apple-darwin".format(arch), diff --git a/toolchain.py b/toolchain.py index 38920d2..10e80d3 100755 --- a/toolchain.py +++ b/toolchain.py @@ -164,7 +164,6 @@ class Arch(object): "--sysroot", self.sysroot, "-L{}/{}".format(self.ctx.dist_dir, "lib"), "-lsqlite3", - "-undefined", "dynamic_lookup", self.version_min ]) return env