mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
meson: Remove some forgotten Python 2.x remnants
This commit is contained in:
@@ -78,12 +78,6 @@ endif
|
||||
|
||||
python_site_packages = join_paths(get_option('libdir'), python_name, 'site-packages')
|
||||
|
||||
if python_version.version_compare('>3')
|
||||
python_plugin_export_name = 'PyInit__frida'
|
||||
else
|
||||
python_plugin_export_name = 'init_frida'
|
||||
endif
|
||||
|
||||
cdata = configuration_data()
|
||||
|
||||
cdata.set('HAVE_' + host_os_family.to_upper(), 1)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
FRIDA_PYTHON {
|
||||
global:
|
||||
PyInit__frida;
|
||||
init_frida;
|
||||
|
||||
local:
|
||||
*;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
extra_link_args = []
|
||||
if host_os_family == 'darwin'
|
||||
extra_link_args += ['-Wl,-exported_symbol,_' + python_plugin_export_name]
|
||||
extra_link_args += ['-Wl,-exported_symbol,_PyInit__frida']
|
||||
elif host_os_family != 'windows'
|
||||
extra_link_args += ['-Wl,--version-script,' + join_paths(meson.current_source_dir(), '_frida.version')]
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user