]> git.sur5r.net Git - openldap/blobdiff - build/ltmain.sh
Remove broken MSVC build from REL_ENG branch.
[openldap] / build / ltmain.sh
index 92856318068bddfbabf9eb0487ade89d35c2b67c..f2014c73ddda4f3adc00b7c87b9365963e8eca4a 100755 (executable)
 # This file is distributed with OpenLDAP Software, which contains a
 # configuration script generated by Autoconf, and is distributable
 # under the same distributions terms as OpenLDAP inself.
-# See the OpenLDAP COPYRIGHT and LICENSE file for details.
+
+## Copyright 1998-2003 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
 
 # Check that we have a working $echo.
 if test "X$1" = X--no-reexec; then
@@ -1909,6 +1919,7 @@ compiler."
            else
              # We cannot seem to hardcode it, guess we'll fake it.
              add_dir="-L$libdir"
+             test -d "$ladir/.libs" && add_dir="-L$ladir/.libs $add_dir"
              add="-l$name"
            fi