Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Take care of multi-arch packages when generating dependencies against…

… dlopened libs.
  • Loading branch information...
commit fa490ac227b11c0343033989623030bb8ac445fa 1 parent 5bc396a
@rafal-krypa rafal-krypa authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 debian/var_info
View
4 debian/var_info
@@ -115,7 +115,7 @@ case "$1" in
printf "$BUILD_DEPENDS"
;;
LIBCURL_DEPENDS)
- LIBCURL_DEPENDS=$(cat /var/lib/dpkg/info/libcurl3-gnutls.shlibs | \
+ LIBCURL_DEPENDS=$(cat /var/lib/dpkg/info/libcurl3-gnutls*.shlibs | \
sed 's/^[^[:space:]]\+\?[[:space:]]\+\?[^[:space:]]\+\?[[:space:]]\+\?\(.*\)$/\1/')
printf "$LIBCURL_DEPENDS"
;;
@@ -162,7 +162,7 @@ case "$1" in
printf "$LIBVDPAU_DEPENDS"
;;
LIBRTMP_DEPENDS)
- LIBRTMP_DEPENDS=$(cat /var/lib/dpkg/info/librtmp0.shlibs | \
+ LIBRTMP_DEPENDS=$(cat /var/lib/dpkg/info/librtmp0*.shlibs | \
sed 's/^[^[:space:]]\+\?[[:space:]]\+\?[^[:space:]]\+\?[[:space:]]\+\?\(.*\)$/\1/')
printf "$LIBRTMP_DEPENDS"
;;

1 comment on commit fa490ac

@theuni
Owner

This is really nasty, I couldn't make myself add it. I'm sure it's for the best for now, but there's got to be a better way...

Please sign in to comment.
Something went wrong with that request. Please try again.