Commit 213b827d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* use dynamic linking to get stable results on various environments.

* remove LDCONFIG= that just does not work as expected.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40811 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 610c5c43
...@@ -14,9 +14,8 @@ configure-options = ...@@ -14,9 +14,8 @@ configure-options =
--with-normal --with-normal
--without-debug --without-debug
--enable-rpath --enable-rpath
# no need to call ldconfig
make-options =
LDCONFIG=
# tricky way to rerun with --enable-widec # tricky way to rerun with --enable-widec
make-targets = make-targets =
install && ./configure ${:configure-options} --enable-widec && make install install && ./configure ${:configure-options} --enable-widec && make install
environment =
LDFLAGS =-Wl,--as-needed
...@@ -1383,12 +1383,14 @@ class AssertNcurses(AssertSoftwareMixin): ...@@ -1383,12 +1383,14 @@ class AssertNcurses(AssertSoftwareMixin):
def test_ld_ncurses(self): def test_ld_ncurses(self):
self.assertLibraryList('parts/ncurses/lib/libncurses.so', [ self.assertLibraryList('parts/ncurses/lib/libncurses.so', [
'libc', 'libc',
'libdl',
], [ ], [
'ncurses', 'ncurses',
]) ])
def test_ld_ncursesw(self): def test_ld_ncursesw(self):
self.assertLibraryList('parts/ncurses/lib/libncursesw.so', [ self.assertLibraryList('parts/ncurses/lib/libncursesw.so', [
'libc', 'libc',
'libdl',
], [ ], [
'ncurses', 'ncurses',
]) ])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment