mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-13 06:44:13 +02:00
Add -lodbc for OSX/Linux
This commit is contained in:
@@ -56,11 +56,9 @@ model {
|
||||
if (toolChain in VisualCpp) {
|
||||
cppCompiler.define "THREADSAFE=1"
|
||||
}
|
||||
if (toolChain in Gcc) {
|
||||
cppCompiler.define "POCO_UNIXODBC"
|
||||
}
|
||||
if (toolChain in Clang) {
|
||||
if (toolChain in Gcc || toolChain in Clang) {
|
||||
cppCompiler.define "POCO_UNIXODBC"
|
||||
linker.args "-lodbc"
|
||||
}
|
||||
}
|
||||
withType(SharedLibraryBinarySpec) {
|
||||
|
Reference in New Issue
Block a user