[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5215) Use of ln is hardcoded in some files

emmanuel.duru@atosorigin.com wrote:
> Full_Name: Emmanuel Duru
> Version: 2.3.38
> OS: Windows
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> configure allows the use of "cp" instead of "ln", but the build/shtool tool uses
> a hardcoded "ln" (line 1266).
> Some makefiles (libraries/liblunicode, libraries/libldap_r and
> servers/slapd/back-hdb) use a hardcoded "-s" option. This is a problem on
> Windows because in cygwin environment "cp -s" behaves the same way as "ln -s".
> The use of "ln" is not welcome here because it creates a Windows shortcut, which
> is not understood by mingw compiler.

We only support the MSYS build environment on Windows.

If you'd like to submit a patch to address this issue that doesn't break the 
other platforms, we can look at incorporating it.
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/