Skip to content

Commit

Permalink
Removed unnecessary declspec
Browse files Browse the repository at this point in the history
  • Loading branch information
perseoGI committed Nov 25, 2024
1 parent a734990 commit 0d5e959
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions recipes/mariadb-connector-cpp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,7 @@ def package_info(self):
self.cpp_info.system_libs = ["ws2_32", "shlwapi"]
if self.options.with_ssl == "schannel":
self.cpp_info.system_libs.append("secur32")

if self.options.shared:
if self.settings.os == "Windows":
self.cpp_info.defines.append("MARIADB_EXPORTED=__declspec(dllimport)")
else:
if self.settings.os == "Windows":
if not self.options.shared:
self.cpp_info.defines.append("MARIADB_STATIC_LINK")

self.cpp_info.libs = ["mariadbcpp"]

0 comments on commit 0d5e959

Please sign in to comment.