Explorar o código

* add resolution of DLL name under OS/2

git-svn-id: trunk@29689 -
Tomas Hajny %!s(int64=10) %!d(string=hai) anos
pai
achega
2e2ca8684d
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  1. 9 1
      tests/webtbs/tw13628b.pp

+ 9 - 1
tests/webtbs/tw13628b.pp

@@ -13,9 +13,17 @@ const
   {$endif unix}
 
   {$ifdef windows}
-  libname = 'tw13628a.dll';
+   {$DEFINE NODLLPREFIX}
   {$endif windows}
 
+  {$ifdef os2}
+   {$DEFINE NODLLPREFIX}
+  {$endif os2}
+
+  {$IFDEF NODLLPREFIX}
+  libname = 'tw13628a.' + SharedSuffix;
+  {$ENDIF NODLLPREFIX}
+
 var
   hdl: TLibHandle;
 begin