[unixodbc/nanodbc] Fix unixodbc build failure and set it as a dependency on nanodbc (#11613)

This commit is contained in:
Jack·Boos·Yu 2020-06-02 06:56:10 +08:00 committed by GitHub
parent 1ffc953ab5
commit 47a883b395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,5 @@
Source: nanodbc
Version: 2.12.4-7
Version: 2.12.4-8
Homepage: https://github.com/lexicalunit/nanodbc
Description: A small C++ wrapper for the native C ODBC API.
Build-Depends: unixodbc

View File

@ -1,5 +1,5 @@
Source: unixodbc
Version: 2.3.7
Version: 2.3.7-1
Homepage: https://github.com/lurcher/unixODBC
Description: unixODBC is an Open Source ODBC sub-system and an ODBC SDK for Linux, Mac OSX, and UNIX
Supports: (osx|linux)

View File

@ -11,6 +11,7 @@ vcpkg_from_github(
vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
COPY_SOURCE
)
vcpkg_install_make()

View File

@ -46,9 +46,6 @@ sudo apt update
sudo add-apt-repository universe
sudo apt install -y powershell
# Install odbc
sudo apt install -y unixodbc-dev
# Write SMB credentials
sudo mkdir /etc/smbcredentials
smbCredentialFile=/etc/smbcredentials/$StorageAccountName.cred