Skip to content

Commit

Permalink
perl_term_readline_gnu: Build fix for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Mar 3, 2017
1 parent 36bcfa6 commit f2a6279
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/pkgs/perl_term_readline_gnu/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@ fi

cd src

perl Makefile.PL --prefix=$SAGE_LOCAL INSTALL_BASE=$SAGE_LOCAL
# In the configure phase, the package fails to use rpath for a test
# program that it compiles, causing a build failure on Linux as
# reported in #22505 (libreadline.so not found). We work around it by
# using LD_LIBRARY_PATH.
export LD_LIBRARY_PATH="$SAGE_LOCAL/lib":"$LD_LIBRARY_PATH"
perl Makefile.PL --prefix="$SAGE_LOCAL" INSTALL_BASE="$SAGE_LOCAL"
$MAKE install

0 comments on commit f2a6279

Please sign in to comment.