We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d407766 commit 8712bf9Copy full SHA for 8712bf9
brew.yaml
@@ -58,7 +58,10 @@ pipeline:
58
# Relocate .pc files to /usr/lib/pkgconfig and create symlinks
59
mkdir -p ${{targets.destdir}}/usr/lib/pkgconfig/
60
find ${{targets.destdir}}/home/linuxbrew -name "*.pc" | while read pc_file; do
61
- mkdir -p "$(dirname "$pc_file")" && mv "$pc_file" "${{targets.destdir}}/usr/lib/pkgconfig/$(basename "$pc_file")" && ln -s "../../../../../usr/lib/pkgconfig/$(basename "$pc_file")" "$pc_file"
+ if [ ! -L "$pc_file" ]; then
62
+ mv "$pc_file" "${{targets.destdir}}/usr/lib/pkgconfig/$(basename "$pc_file")"
63
+ ln -s "${{targets.destdir}}/usr/lib/pkgconfig/$(basename "$pc_file")" "$pc_file"
64
+ fi
65
done
66
67
# Create profile.d script
0 commit comments