Skip to content

Commit

Permalink
Added libpcre to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrChaika committed Jan 11, 2023
1 parent 893446e commit 9930852
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ COPY --from=build /work/dist_amd64/lib/libsua.so /sua/lib/
COPY --from=build /work/build_amd64/glib/gio/libgio-2.0.so.0 /sua/lib/
COPY --from=build /work/build_amd64/glib/gobject/libgobject-2.0.so.0 /sua/lib/
COPY --from=build /work/build_amd64/glib/glib/libglib-2.0.so.0 /sua/lib/
COPY --from=build /work/build_amd64/glib/gmodule/libgmodule-2.0.so.0 /sua/lib/
COPY --from=build /work/build_amd64/glib/subprojects/libffi/src/libffi.so.7 /sua/lib/
COPY --from=build /work/build_amd64/glib/subprojects/zlib-1.2.11/libz.so /sua/lib/
COPY --from=build /work/build_amd64/glib/gmodule/libgmodule-2.0.so.0 /sua/lib/
COPY --from=build /work/build_amd64/glib/subprojects/libffi/src/libffi.so.7 /sua/lib/
COPY --from=build /work/build_amd64/glib/subprojects/pcre2-10.40/libpcre2-8.so /sua/lib/
COPY --from=build /work/build_amd64/glib/subprojects/zlib-1.2.11/libz.so /sua/lib/
COPY --from=build /etc/ssl/certs /etc/ssl/certs/
COPY --from=build /usr/share/ca-certificates /usr/share/ca-certificates
COPY --from=build /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ COPY --from=build /work/dist_arm64/lib/libsua.so /sua/lib/
COPY --from=build /work/build_arm64/glib/gio/libgio-2.0.so.0 /sua/lib/
COPY --from=build /work/build_arm64/glib/gobject/libgobject-2.0.so.0 /sua/lib/
COPY --from=build /work/build_arm64/glib/glib/libglib-2.0.so.0 /sua/lib/
COPY --from=build /work/build_arm64/glib/gmodule/libgmodule-2.0.so.0 /sua/lib/
COPY --from=build /work/build_arm64/glib/subprojects/libffi/src/libffi.so.7 /sua/lib/
COPY --from=build /work/build_arm64/glib/subprojects/zlib-1.2.11/libz.so /sua/lib/
COPY --from=build /work/build_arm64/glib/gmodule/libgmodule-2.0.so.0 /sua/lib/
COPY --from=build /work/build_arm64/glib/subprojects/libffi/src/libffi.so.7 /sua/lib/
COPY --from=build /work/build_amd64/glib/subprojects/pcre2-10.40/libpcre2-8.so /sua/lib/
COPY --from=build /work/build_arm64/glib/subprojects/zlib-1.2.11/libz.so /sua/lib/
COPY --from=build /etc/ssl/certs /etc/ssl/certs/
COPY --from=build /usr/share/ca-certificates /usr/share/ca-certificates
COPY --from=build /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1
Expand Down
6 changes: 6 additions & 0 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ set_property(
PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/glib/subprojects/libffi/src/libffi.so
)

add_library(pcre_lib SHARED IMPORTED)
set_property(
TARGET pcre_lib
PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/glib/subprojects/pcre2-10.40/libpcre2-8.so
)

add_library(z_lib SHARED IMPORTED)
set_property(
TARGET z_lib
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ target_link_libraries(${PROJECT_NAME}
gmodule_lib
glib_lib
ffi_lib
pcre_lib
z_lib
${SUA_PLATFORM_LIBS}
ssl_lib
Expand Down

0 comments on commit 9930852

Please sign in to comment.