• Home
  • Raw
  • Download

Lines Matching +full:- +full:rpath

39     cflags = ['-Wno-unused-command-line-argument']
40 ldflags = ['-s']
43 '--prefix={}'.format(install_dir),
44 '--enable-shared',
45 '--with-ensurepip=install',
52 config_cmd.append('--enable-universalsdk={}'.format(sdkroot))
54 config_cmd.append('--enable-universalsdk')
55 config_cmd.append('--with-universal-archs=universal2')
58 cflags.append('-mmacosx-version-min={}'.format(MAC_MIN_VERSION))
59 cflags.append('-DMACOSX_DEPLOYMENT_TARGET={}'.format(MAC_MIN_VERSION))
60 cflags.extend(['-arch', 'arm64'])
61 cflags.extend(['-arch', 'x86_64'])
63 ldflags.append("-Wl,-rpath,'@loader_path/../lib'")
67 cflags.append('-Werror=unguarded-availability')
70 cflags.append('-Wno-unguarded-availability-new')
72 # configure doesn't find it because of the unguarded-availability error
73 # combined with and older -mmacosx-version-min
74 cflags.append('-DHAVE_DYLD_SHARED_CACHE_CONTAINS_PATH=1')
76 # Quoting for -Wl,-rpath,$ORIGIN:
77 # - To link some binaries, make passes -Wl,-rpath,\$ORIGIN to shell.
78 # - To build stdlib extension modules, make invokes:
79 # setup.py LDSHARED='... -Wl,-rpath,\$ORIGIN ...'
80 # - distutils.util.split_quoted then splits LDSHARED into
81 # [... "-Wl,-rpath,$ORIGIN", ...].
82 ldflags.append("-Wl,-rpath,\\$$ORIGIN/../lib")
86 ldflags.append('-Wl,--as-needed')
96 # Since configure does not give us a chance to set -install_name, we have
100 '-j{}'.format(multiprocessing.cpu_count()),
103 subprocess.check_call(['install_name_tool', '-id', '@rpath/' + libpython,
107 '-j{}'.format(multiprocessing.cpu_count()),
117 out.write('\n-------------------------------------------------------------------\n\n')
123 package_name = 'python3-{}-{}.tar.bz2'.format(host.value, build_id)
134 "lib/python*/config-*",
146 "wininst-*", "bdist_wininst.py",
150 tar_cmd.append('--exclude')
152 tar_cmd.extend(['-cjf', package_path, '.'])