Skip to content

Commit

Permalink
libftp: add version 1.4.0 (#26122)
Browse files Browse the repository at this point in the history
* libftp: add version 1.4.0

* libftp: add support for building a shared library using MSVC

libftp release notes [1]:
"Added support for creating the shared library on Windows."

[1] https://github.com/deniskovalchuk/libftp/releases/tag/v1.4.0
  • Loading branch information
deniskovalchuk authored Dec 7, 2024
1 parent 37116e6 commit 2a3cb93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions recipes/libftp/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"1.4.0":
url: "https://github.com/deniskovalchuk/libftp/archive/refs/tags/v1.4.0.tar.gz"
sha256: "0d8c9f8ea36ef010c4b7be79e3c4ad46830d2f644bcecd608d83f69274a2aa9e"
"1.3.0":
url: "https://github.com/deniskovalchuk/libftp/archive/refs/tags/v1.3.0.tar.gz"
sha256: "e4861fccb5c67742db1aa8f1af98ac70888b54212b06a8366d84a040897ca749"
Expand Down
2 changes: 1 addition & 1 deletion recipes/libftp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class LibFTPConan(ConanFile):
implements = ["auto_shared_fpic"]

def configure(self):
if is_msvc(self):
if Version(self.version) < "1.4.0" and is_msvc(self):
del self.options.shared
self.package_type = "static-library"
if self.options.get_safe("shared"):
Expand Down
2 changes: 2 additions & 0 deletions recipes/libftp/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"1.4.0":
folder: all
"1.3.0":
folder: all
"1.1.0":
Expand Down

0 comments on commit 2a3cb93

Please sign in to comment.