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