Added query for Mac OS as a platform in PLATFORM.

Fixed cURL library to ustilize Mac OS dylib version of libcurl


git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@72154 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
paulb
2008-01-31 21:02:28 +00:00
parent 3b231019ea
commit b1952a6e2c

View File

@@ -14,12 +14,11 @@ feature -- Query
module_name: STRING is
-- Module name.
local
l_platform: PLATFORM
once
create l_platform
if l_platform.is_windows then
if {PLATFORM}.is_windows then
Result := "libcurl.dll"
elseif {PLATFORM}.is_mac then
Result := "libcurl.dylib"
else
Result := "libcurl.so"
end