Skip to content

Commit 2214173

Browse files
committed
update libcurl version and add rpath to libgdal so it favors libs in same dir
1 parent e02f6cf commit 2214173

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN \
1313

1414
# versions of packages
1515
ENV \
16-
CURL_VERSION=7.51.0 \
16+
CURL_VERSION=7.59.0 \
1717
GEOS_VERSION=3.7.1 \
1818
GEOTIFF_VERSION=1.4.3 \
1919
GDAL_VERSION=2.4.0 \
@@ -183,7 +183,7 @@ RUN \
183183
--without-python \
184184
--with-geos=$PREFIX/bin/geos-config \
185185
--with-hide-internal-symbols=yes \
186-
CFLAGS="-O2 -Os" CXXFLAGS="-O2 -Os"; \
186+
CFLAGS="-O2 -Os" CXXFLAGS="-O2 -Os -Wl,-rpath=$ORIGIN"; \
187187
make -j ${NPROC} install; \
188188
cd ${BUILD}; rm -rf gdal
189189

0 commit comments

Comments
 (0)