Skip to content

Commit

Permalink
Set install_rpath for executables in meson build.
Browse files Browse the repository at this point in the history
  • Loading branch information
bredelings committed Jan 9, 2018
1 parent 7166e5f commit 89c60c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/meson.build
Expand Up @@ -53,7 +53,7 @@ programs = [
]

foreach program : programs
executable('otc-'+program, program + '.cpp', dependencies: [boost, libotcetera, json], include_directories: otc_inc, install: true)
executable('otc-'+program, program + '.cpp', dependencies: [boost, libotcetera, json], include_directories: otc_inc, install: true, install_rpath: '$ORIGIN/../lib')
endforeach

executable('otc-version-reporter', ['version-reporter.cpp',git_version_h], dependencies: [boost, libotcetera, json], include_directories: otc_inc, install: true)
2 changes: 1 addition & 1 deletion ws/meson.build
Expand Up @@ -9,7 +9,7 @@ endif

otc_tol_ws_sources = ['tolws.cpp', 'tolwsadaptors.cpp', 'tolwsbooting.cpp', 'nexson/nexson.cpp']
ws_inc = include_directories('.')
executable('otc-tol-ws', otc_tol_ws_sources, dependencies: [boost, libotcetera, restbed, json, ssl, curl, threads], include_directories: ws_inc, install: true)
executable('otc-tol-ws', otc_tol_ws_sources, dependencies: [boost, libotcetera, restbed, json, ssl, curl, threads], include_directories: ws_inc, install: true, install_rpath: '$ORIGIN/../lib')

#check:
# python $(abs_top_srcdir)/ws/test_web_services.py \
Expand Down

0 comments on commit 89c60c0

Please sign in to comment.