]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dllnames.sh
many compilation fixes for WinCE using VC8 (it now build, although still doesn't...
[wxWidgets.git] / src / os2 / dllnames.sh
index 46abcde3e09f951887373e40af3de7d887eee70b..443b0da78ed11e114295da765dc753099f83b4df 100644 (file)
@@ -6,6 +6,8 @@
 # a short(er) DLL name from it.
 
 dllFile="$1"
+dirName=`echo $dllFile | sed 's-\(.*[/\\]\)[^/\\]*$-\1-'`
+dllFile=`echo $dllFile | sed 's-.*[/\\]\([^/\\]*\)$-\1-'`
 case $dllFile in
 *wx_base_*)
     dllFile=`echo $dllFile | sed 's/base_\(...\)/b\1/'`
@@ -26,5 +28,5 @@ case $dllFile in
     ;;
 esac
 dllFile="`echo $dllFile | sed 's/\.//' | sed 's/_//' | sed 's/-//'`"
-echo $dllFile
+echo $dirName$dllFile
 exit 0
\ No newline at end of file