Skip to content

Commit

Permalink
Merge pull request #118 from kronosnet/runpath
Browse files Browse the repository at this point in the history
Use LD_LIBRARY_PATH to find the build tree artifacts
  • Loading branch information
fabbione committed Jan 19, 2018
2 parents 1d4f9b0 + dba1220 commit ca09842
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ AC_INIT([kronosnet],
[devel@lists.kronosnet.org])
AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([1.13 dist-bzip2 dist-xz color-tests -Wno-portability subdir-objects])

# Switch to RUNPATH by default and disable RPATH
# it is necessary to have this done very early in ./configure
# before libtool does linker detection.
# see also: https://github.com/kronosnet/kronosnet/issues/107
LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
LT_PREREQ([2.2.6])
LT_INIT

Expand Down

0 comments on commit ca09842

Please sign in to comment.