Skip to content

Commit

Permalink
pkg_pkg: avoid having cygwin-debuginfo requires: itself
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-turney authored and yselkowitz committed Apr 4, 2016
1 parent 04fbad3 commit 65cc501
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/pkg_pkg.cygpart
Original file line number Diff line number Diff line change
Expand Up @@ -750,9 +750,13 @@ _EOF
then
cp ${C}/debuginfo.hint ${distdir}/${PN}/${PN}-debuginfo/setup.hint
else
if [ "${PN}" != "cygwin-debuginfo" ]
then
pkg_debug_requires=cygwin-debuginfo
fi
cat > ${distdir}/${PN}/${PN}-debuginfo/setup.hint <<-_EOF
category: Debug
requires: cygwin-debuginfo
requires: ${pkg_debug_requires}
external-source: ${PN}
sdesc: "Debug info for ${PN}"
ldesc: "This package contains files necessary for debugging the
Expand Down

0 comments on commit 65cc501

Please sign in to comment.