mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-02 20:30:11 +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) {
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user