Skip to content

Commit

Permalink
meson: Revive support for installing to an arbitrary prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Mar 21, 2024
1 parent 63b2138 commit ad9ff14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ scripts = [

common_cdata = configuration_data()
common_cdata.set('PYTHON', python.path())
common_cdata.set('pythondir', python.get_install_dir())

foreach s : scripts
cdata = configuration_data()
Expand Down
3 changes: 3 additions & 0 deletions scripts/script.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!@PYTHON@

import sys
sys.path.insert(1, '@pythondir@')

import frida_tools.@module@

if __name__ == '__main__':
Expand Down

0 comments on commit ad9ff14

Please sign in to comment.