From b1952a6e2c098c58ff748fb9a64126972b580889 Mon Sep 17 00:00:00 2001 From: paulb Date: Thu, 31 Jan 2008 21:02:28 +0000 Subject: [PATCH] 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 --- curl_utility.e | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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