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: STRING is
|
||||||
-- Module name.
|
-- Module name.
|
||||||
local
|
|
||||||
l_platform: PLATFORM
|
|
||||||
once
|
once
|
||||||
create l_platform
|
if {PLATFORM}.is_windows then
|
||||||
if l_platform.is_windows then
|
|
||||||
Result := "libcurl.dll"
|
Result := "libcurl.dll"
|
||||||
|
elseif {PLATFORM}.is_mac then
|
||||||
|
Result := "libcurl.dylib"
|
||||||
else
|
else
|
||||||
Result := "libcurl.so"
|
Result := "libcurl.so"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user