[Bug] replace libltdl.so when compile the unixodbc library (#4461)

This commit is contained in:
HappenLee
2020-08-27 20:53:28 +08:00
committed by GitHub
parent 976e3bb219
commit 84c63f1350
2 changed files with 2 additions and 2 deletions

View File

@ -466,7 +466,7 @@ else()
endif()
set(DORIS_LINK_LIBS ${DORIS_LINK_LIBS}
-lrt -lbfd -liberty -lc -lm -ldl -lltdl -pthread
-lrt -lbfd -liberty -lc -lm -ldl -pthread
)
# Set libraries for test

View File

@ -529,7 +529,7 @@ build_libunixodbc() {
CPPFLAGS="-I${TP_INCLUDE_DIR}" \
LDFLAGS="-L${TP_LIB_DIR}" \
CFLAGS="-fPIC" \
./configure --prefix=$TP_INSTALL_DIR --enable-static=yes
./configure --prefix=$TP_INSTALL_DIR --with-included-ltdl --enable-static=yes
make -j$PARALLEL && make install
}