Skip to content

Commit de8b4c5

Browse files
committed
meson: Remove some forgotten Python 2.x remnants
1 parent 89c8a17 commit de8b4c5

3 files changed

Lines changed: 1 addition & 8 deletions

File tree

meson.build

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,6 @@ endif
7878

7979
python_site_packages = join_paths(get_option('libdir'), python_name, 'site-packages')
8080

81-
if python_version.version_compare('>3')
82-
python_plugin_export_name = 'PyInit__frida'
83-
else
84-
python_plugin_export_name = 'init_frida'
85-
endif
86-
8781
cdata = configuration_data()
8882

8983
cdata.set('HAVE_' + host_os_family.to_upper(), 1)

src/_frida.version

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FRIDA_PYTHON {
22
global:
33
PyInit__frida;
4-
init_frida;
54

65
local:
76
*;

src/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extra_link_args = []
22
if host_os_family == 'darwin'
3-
extra_link_args += ['-Wl,-exported_symbol,_' + python_plugin_export_name]
3+
extra_link_args += ['-Wl,-exported_symbol,_PyInit__frida']
44
elif host_os_family != 'windows'
55
extra_link_args += ['-Wl,--version-script,' + join_paths(meson.current_source_dir(), '_frida.version')]
66
endif

0 commit comments

Comments
 (0)