We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0086ba8 commit bc2a8c2Copy full SHA for bc2a8c2
1 file changed
configure
@@ -165,12 +165,16 @@ printf "\t@$XSC pkg \${@F}\n" >> Makefile
165
printf "\t@touch \$@\n" >> Makefile
166
printf "\t@rm tobuild/\${@F}\n\n" >> Makefile
167
168
+
169
printf "INFO: Finding and adding dependencies...\n"
170
printf "# Dependencies\n" >> Makefile
171
for p in $TOBUILD; do
- sedcmd="s|[<>].*\$||g"
172
- _deps="`$XSC show-build-deps $p | sed -e \"$sedcmd\"`"
173
deps=
+ sedcmd="s|[<>].*\$||g"
174
+ _deps="`$XSC show-build-deps $p 2>/dev/null| sed -e \"$sedcmd\"`"
175
+ if [ -z "${_deps}" ]; then
176
+ continue
177
+ fi
178
for d in $_deps; do
179
found=0
180
realdep=`getlink $d`
0 commit comments