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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user