Add FreeTDS 1.5.21 to debian13
Build the static client libraries (libsybdb, libct) from the official release tarball with OpenSSL; ODBC, the command-line apps, server and pool are disabled. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3ca7753bd1
commit
d23bd42892
3 files changed
+15
No files matched your search
@@ -829,6 +829,18 @@ RUN --mount=type=bind,from=sources,source=sqlite-autoconf-3540100.tar.gz,target=
|
||||
&& cd .. \
|
||||
&& rm -rf src
|
||||
|
||||
RUN --mount=type=bind,from=sources,source=freetds-1.5.21.tar.gz,target=/tmp/freetds.tar.gz \
|
||||
mkdir src \
|
||||
&& tar --extract --gzip --file=/tmp/freetds.tar.gz --directory=src --strip-components=1 \
|
||||
&& cd src \
|
||||
&& CFLAGS="-O2 -fPIC" ./configure --prefix=${PREFIX} --libdir=${PREFIX}/lib/$(gcc -dumpmachine) \
|
||||
--disable-shared --enable-static --with-openssl=${PREFIX} \
|
||||
--disable-odbc --disable-apps --disable-server --disable-pool --disable-libiconv \
|
||||
&& make --jobs="$(nproc)" \
|
||||
&& make install \
|
||||
&& cd .. \
|
||||
&& rm -rf src
|
||||
|
||||
COPY source-stack.cmake.in /tmp/
|
||||
RUN mkdir -p ${PREFIX}/share/source-stack \
|
||||
&& sed "s|@MULTIARCH@|$(gcc -dumpmachine)|" /tmp/source-stack.cmake.in \
|
||||
|
||||
Reference in new issue
Block a user