Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 1.2-py3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ RUN apk --update add --no-cache boost-python3 boost
ninja "-j$(nproc)" && \
ninja install && \
cd .. && \
# Strip leaked CMake imported-target names from the generated pkg-config file
sed -i 's/ *-lIconv::Iconv//g' /usr/lib/pkgconfig/libtorrent-rasterbar.pc && \
# Remove temp files
cd && \
apk del --purge build-dependencies && \
Expand Down
2 changes: 2 additions & 0 deletions 1.2-py3/container-structure-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ fileContentTests:
- name: "pkgconfig"
path: "/usr/lib/pkgconfig/libtorrent-rasterbar.pc"
expectedContents: ["Libs:.*-ltorrent-rasterbar"]
# No unresolved CMake imported-target names (e.g. -lIconv::Iconv) should leak into the Libs line
excludedContents: ["-l\\S*::"]