Skip to content

Commit

Permalink
Strip symbols from installed Intel media SDK libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage committed Jul 13, 2018
1 parent fa660ff commit 46dec53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Expand Up @@ -123,6 +123,10 @@ RUN \
/opt/intel/mediasdk/plugins/plugins_eval.cfg \
/opt/intel/mediasdk/samples \
&& \
# Strip symbols.
if [ "${HANDBRAKE_DEBUG_MODE}" = "none" ]; then \
strip -s /opt/intel/mediasdk/*/*.so; \
fi && \
# Cleanup.
del-pkg build-dependencies && \
rm -rf /tmp/* /tmp/.[!.]*
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile.nightly
Expand Up @@ -127,6 +127,10 @@ RUN \
/opt/intel/mediasdk/plugins/plugins_eval.cfg \
/opt/intel/mediasdk/samples \
&& \
# Strip symbols.
if [ "${HANDBRAKE_DEBUG_MODE}" = "none" ]; then \
strip -s /opt/intel/mediasdk/*/*.so; \
fi && \
# Cleanup.
del-pkg build-dependencies && \
rm -rf /tmp/* /tmp/.[!.]*
Expand Down

0 comments on commit 46dec53

Please sign in to comment.