Skip to content

Commit c7159c0

Browse files
committed
Update
1 parent fed3ab0 commit c7159c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.armv7hf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ RUN sed -i 's#export PATH=#export PATH=/opt/axis/acapsdk/axis-acap-manifest-tool
4747
# Update paths and add explicit sdk path to linker in environment-setup script
4848
# Add the --disable-new-dtags parameter to the default LDFLAGS to solve dynamic library rpath issues
4949
RUN sed -i 's:/opt/axis/sdk:/opt/axis/acapsdk:g' /opt/axis/acapsdk/environment-setup* && \
50-
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -L$SDKTARGETSYSROOT/usr/lib -D_TIME_BITS=32 -D_FILE_OFFSET_BITS=32":g' /opt/axis/acapsdk/environment-setup* && \
50+
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -L$SDKTARGETSYSROOT/usr/lib":g' /opt/axis/acapsdk/environment-setup* && \
51+
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -D_TIME_BITS=32":g' /opt/axis/acapsdk/environment-setup* && \
52+
sed -i '/\(CC\|CPP\|CXX\)=/s:"$: -D_FILE_OFFSET_BITS=32":g' /opt/axis/acapsdk/environment-setup* && \
5153
sed -i '/^export LDFLAGS=/ s:"$: -Wl,--disable-new-dtags":' /opt/axis/acapsdk/environment-setup*
5254

5355
# Copy the lib, include and .pc files from the API container

0 commit comments

Comments
 (0)