summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-13 17:54:21 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-14 00:36:11 +0300
commita44330b976452828296fe01cb419d851b7936d20 (patch)
tree1ca144d2acea0853c34362e55c7c0221bf25cd3c /cppuhelper
parent4dafde87ffd9d2723a8edbe7f7e36f81f89e70f0 (diff)
Bypass DLL prefix and extension stuff on iOS for now
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx2
1 files changed, 2 insertions, 0 deletions
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 );
}