Accepting request 641115 from home:Andreas_Schwab:Factory

- Use -rpath-link when building the test suite to use the just built
  libraries

OBS-URL: https://build.opensuse.org/request/show/641115
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=389
This commit is contained in:
Marcus Meissner 2018-10-11 08:42:19 +00:00 committed by Git OBS Bridge
parent e4f728193a
commit c19ebaf0e2
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 10 16:10:48 UTC 2018 - schwab@suse.de
- Use -rpath-link when building the test suite to use the just built
libraries
-------------------------------------------------------------------
Mon Oct 8 07:05:41 UTC 2018 - Dr. Werner Fink <werner@suse.de>

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -59,9 +59,9 @@ Obsoletes: ncurses-64bit
Version: 6.1
Release: 0
Summary: Terminal control library
#Git: http://ncurses.scripts.mit.edu
License: MIT
Group: System/Base
#Git: http://ncurses.scripts.mit.edu
Url: http://www.invisible-island.net/ncurses/ncurses.html
Source0: ftp://ftp.invisible-island.net/ncurses/ncurses-6.1.tar.gz
Source1: ncurses-6.1-patches.tar.bz2
@ -571,7 +571,7 @@ mv tack-* tack
# Make the test suite for ncursesw6
#
pushd test
CFLAGS="$CFLAGS -I%{root}%{_incdir}" LDFLAGS="$LDFLAGS -L%{root}%{_libdir}" \
CFLAGS="$CFLAGS -I%{root}%{_incdir}" LDFLAGS="$LDFLAGS -Wl,-rpath-link=%{root}%{_libdir} -L%{root}%{_libdir}" \
./configure --with-ncursesw --enable-widec --prefix=$PWD
LD_LIBRARY_PATH=%{root}%{_libdir} \
make %{?_smp_mflags} TEST_ARGS='-lformw -lmenuw -lpanelw -lncursesw -lticw -l%{soname_tinfo} -Wl,--as-needed'
@ -698,7 +698,7 @@ mv tack-* tack
# Make the test suite for ncurses6
#
pushd test
CFLAGS="$CFLAGS -I%{root}%{_incdir}" LDFLAGS="$LDFLAGS -L%{root}%{_libdir}" \
CFLAGS="$CFLAGS -I%{root}%{_incdir}" LDFLAGS="$LDFLAGS -Wl,-rpath-link=%{root}%{_libdir} -L%{root}%{_libdir}" \
./configure --with-ncurses --disable-widec --prefix=$PWD
LD_LIBRARY_PATH=%{root}%{_libdir} \
make %{?_smp_mflags} TEST_ARGS='-lform -lmenu -lpanel -lncurses -ltic -ltinfo -Wl,--as-needed'