| 1 | | |
| | 1 | ==== Changes ([http://ports.haiku-files.org/browser/haikuports/trunk/sys-devel/libtool/libtool-2.2.6a-haiku.diff patch]) ==== |
| | 2 | |
| | 3 | {{{libltdl/config/ltmain.m4sh}}}: |
| | 4 | - Haiku doesn't have libc or libm. |
| | 5 | |
| | 6 | {{{libltdl/m4/libtool.m4}}}: |
| | 7 | - Added runtime loader, linker, C/C++ compiler properties for Haiku. |
| | 8 | - Changes since the previous revision: |
| | 9 | - Set {{{shlibpath_overrides_runpath}}}: {{{LIBRARY_PATH}}} overrides the "rpath" built into the executable (since revision 28568). |
| | 10 | - Building statically (gcc flag {{{-static}}}) doesn't work in Haiku -- disable it. |
| | 11 | |
| | 12 | ==== Building/Configuring ==== |
| | 13 | |
| | 14 | {{{ |
| | 15 | ./bootstrap |
| | 16 | ./configure --prefix=/boot/common |
| | 17 | make |
| | 18 | }}} |
| | 19 | |
| | 20 | "bootstrap" incorporates changes to Haiku's automake/autoconf, particularly the included config.guess is somewhat outdated. |
| | 21 | |
| | 22 | ==== Tests ==== |
| | 23 | |
| | 24 | {{{ |
| | 25 | make check |
| | 26 | }}} |
| | 27 | |
| | 28 | None of the tests fails unexpectedly (some are skipped, some fail expectedly). |