Merge pull request #130 from cbenhagen/ffmpeg-fix
move LDFLAG -undefined dynamic_lookup to python recipe
This commit is contained in:
commit
2c04994b71
3 changed files with 1 additions and 14 deletions
|
@ -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, "-j4", _env=build_env)
|
||||
shprint(sh.make, "install")
|
||||
|
|
|
@ -42,7 +42,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),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue