diff --git a/curl_utility.e b/curl_utility.e index 4a204759..19841255 100644 --- a/curl_utility.e +++ b/curl_utility.e @@ -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