Added major version to load the shared library according to rules of ldconfig and the like on other OSs.
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@74121 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
@@ -18,9 +18,9 @@ feature -- Query
|
|||||||
if {PLATFORM}.is_windows then
|
if {PLATFORM}.is_windows then
|
||||||
Result := "libcurl.dll"
|
Result := "libcurl.dll"
|
||||||
elseif {PLATFORM}.is_mac then
|
elseif {PLATFORM}.is_mac then
|
||||||
Result := "libcurl.dylib"
|
Result := "libcurl.3.dylib"
|
||||||
else
|
else
|
||||||
Result := "libcurl.so"
|
Result := "libcurl.so.3"
|
||||||
end
|
end
|
||||||
ensure
|
ensure
|
||||||
not_void: Result /= Void
|
not_void: Result /= Void
|
||||||
|
|||||||
Reference in New Issue
Block a user