From a44330b976452828296fe01cb419d851b7936d20 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 13 Jun 2011 17:54:21 +0300 Subject: Bypass DLL prefix and extension stuff on iOS for now --- cppuhelper/source/shlib.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cppuhelper/source') diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx index 544ba8c5d6fc..95549297b629 100644 --- a/cppuhelper/source/shlib.cxx +++ b/cppuhelper/source/shlib.cxx @@ -244,6 +244,7 @@ static OUString makeComponentPath( if (rPath[ rPath.getLength() -1 ] != '/') buf.append( (sal_Unicode) '/' ); } +#ifndef IOS sal_Int32 nEnd = endsWith( rLibName, OUSTR(SAL_DLLEXTENSION) ); if (nEnd < 0) // !endsWith { @@ -256,6 +257,7 @@ static OUString makeComponentPath( buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(SAL_DLLEXTENSION) ); } else // name is completely pre/postfixed +#endif { buf.append( rLibName ); } -- cgit