Skip to content

Commit

Permalink
meson: drop uses of full_path()
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed May 16, 2024
1 parent 7db62ba commit 231be9e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,12 @@ od = find_program('objdump')
ccexe = custom_target(CMD,
output: CMD,
input: [elf_s, cc64, dbg],
command: [meson.current_source_dir() / 'link.sh',
stubify.full_path(), od.full_path(), elf_s.full_path(),
libcc64.full_path(), dbg.full_path(), '@OUTPUT0@', CMD ],
command: [find_program('link.sh'),
stubify, od, elf_s, libcc64, dbg, '@OUTPUT0@', CMD ],
install: true,
install_dir: get_option('datadir') / TARGET,
install_mode: 'rw-r--r--')

fs_mod = import('fs')
install_symlink('command.com',
pointing_to: fs_mod.name(ccexe.full_path()),
pointing_to: CMD,
install_dir: get_option('datadir') / TARGET)

0 comments on commit 231be9e

Please sign in to comment.