[Bug] replace libltdl.so when compile the unixodbc library (#4461)
This commit is contained in:
@ -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
|
||||
|
||||
2
thirdparty/build-thirdparty.sh
vendored
2
thirdparty/build-thirdparty.sh
vendored
@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user