(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Developer's FAQ : (Category) Porting OpenLDAP : (Category) Porting to MinGW : (Answer) patches-libtool.txt
At the time of this writing, the latest version of GNU Libtool is 1.4.2. The installed version of the libtool script must be patched to better support MinGW and OpenLDAP. The diffs for this files are provided here.
Index: ./libtool
281c281,282
< sys_lib_search_path_spec=" /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/:/usr/lib/gcc/i686-pc-cygwin/2.95.3-5/:/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/lib/i686-pc-cygwin/2.95.3-5/:/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/lib/"
---
> #sys_lib_search_path_spec=" /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/:/usr/lib/gcc/i686-pc-cygwin/2.95.3-5/:/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/lib/i686-pc-cygwin/2.95.3-5/:/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/lib/"
> sys_lib_search_path_spec="/usr/lib/mingw /usr/lib/w32api /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5"
663a665,674
> 
>   --only-shared)
>     build_libtool_libs=yes
>     build_old_libs=no
>     ;;
> 
>   --only-static)
>     build_libtool_libs=no
>     build_old_libs=yes
>     ;;
[Append to This Answer]
Previous: (Answer) patches-gdbm.txt
Next: (Answer) Where can I get source to build open ldap for windows?
This document is: http://www.openldap.org/faq/index.cgi?file=639
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org