Skip to content

Commit

Permalink
meson: add commented out missing functionality
Browse files Browse the repository at this point in the history
We need it but meson doesn't provide that yet.
Add it commented out, to uncomment once its available.
  • Loading branch information
stsp committed May 7, 2024
1 parent 81a3419 commit acd88a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ libcc64 = shared_library('comcom64', [CFILES],
c_args: ['-DREV_ID="' + REVISIONID + '"'],
dependencies: libdj,
link_args: ['-Wl,-Bsymbolic', '-Wl,-rpath=/usr/local/i386-pc-dj64/lib64',
'-Wl,-rpath=/usr/i386-pc-dj64/lib64'])
'-Wl,-rpath=/usr/i386-pc-dj64/lib64'],
# install_rpath: ['/usr/local/i386-pc-dj64/lib64', '/usr/i386-pc-dj64/lib64']
)

objc = find_program('objcopy')
dbg = custom_target(DBG,
Expand All @@ -84,7 +86,7 @@ cc64s = custom_target('lib.stripped',
command: [strip, '-o', '@OUTPUT0@', '@INPUT@'])

cc64 = custom_target('lib.stripped.dl',
# output: '@PLAINNAME@.dl',
# output: '@PLAINNAME0@.dl',
output: libcc64.name() + '.stripped.dl',
input: [cc64s, dbg],
command: [objc, '--add-gnu-debuglink=@INPUT1@', '@INPUT0@', '@OUTPUT@'])
Expand Down

0 comments on commit acd88a4

Please sign in to comment.