Do not link ODBC on Linux
This commit does not link ODBC by default. It is still
built (and included in toy archive) but not loaded by
default.
ODBC is rarely installed (and used) on Linux machines so this
makes toy archive more portable.
--- a/specs/stx-jv.rbspec Fri Jul 29 19:37:10 2022 +0100
+++ b/specs/stx-jv.rbspec Fri Aug 12 23:19:47 2022 +0100
@@ -118,6 +118,11 @@
package "stx:libsvn", :repository => :'jv-branch:public', :branch => 'jv'
package "stx:libjavascript", :repository => :'jv-branch:public', :branch => 'jv'
+ # Build but do not link ODBC package on Linux as it is usually
+ # not installed by default (and rarely used)
+ if 'riscv64-unknown-linux-gnu' =~ /linux/ then
+ package "stx:libdb/libodbc", :link => false
+ end
# Some more development tools to build and preload
# ======================================================================