Skip to content

Commit

Permalink
Cleanup, add missing dl reference
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrilRBS authored and inPhraZ committed Jun 6, 2024
1 parent e08f483 commit 2781bdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions recipes/ocilib/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class OCILIBConan(ConanFile):
description = "An open source and cross platform Oracle Driver that delivers efficient access to Oracle databases."
license = "Apache-2.0"
url = "https://github.com/conan-io/conan-center-index"
homepage = "http://vrogier.github.io/ocilib/"
homepage = "https://github.com/vrogier/ocilib"
topics = ("database", "db", "sql", "oracle")
package_type = "library"
settings = "os", "arch", "compiler", "build_type"
Expand All @@ -31,7 +31,7 @@ class OCILIBConan(ConanFile):

def validate(self):
if self.settings.os != "Linux":
raise ConanInvalidConfiguration("This Conan recipe is only supported for Linux!")
raise ConanInvalidConfiguration(f"{self.ref} recipe only supports Linux for now. Pull requests to add new configurtations are welcomed.")
# TODO: Check support for other platforms

def configure(self):
Expand Down Expand Up @@ -66,3 +66,4 @@ def package(self):

def package_info(self):
self.cpp_info.libs = ["ocilib"]
self.cpp_info.system_libs("dl")
2 changes: 1 addition & 1 deletion recipes/ocilib/all/test_package/test_package.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ int main(void)
ocilib::Environment::Cleanup();

return EXIT_SUCCESS;
}
}

0 comments on commit 2781bdd

Please sign in to comment.