Skip to content

Commit b5910aa

Browse files
authored
Add "/usr/local/lib/" to /etc/ld.so.conf
This removed the downstream requirement of updating $LD_LIBRARY_PATH.
1 parent c2b9cc4 commit b5910aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build/asf_mapready.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ RUN cd /tmp/build_mp && \
118118
export CFLAGS="-I/usr/include -I/usr/local/include/CUnit/ -I/usr/local/include/CUnit/ -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" && \
119119
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ && \
120120
./configure && make && make install && \
121+
echo "/usr/local/lib/" > /etc/ld.so.conf.d/mapready.conf && ldconfig && \
121122
rm -rf /tmp/build_mp
122123

123124
FROM scratch

0 commit comments

Comments
 (0)