Skip to content

Commit

Permalink
Fix build with legacy swig and add libc dependency (#206)
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma authored and iannaska committed May 28, 2018
1 parent 68adb56 commit be379b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Architecture: any
Section: libdevel
Depends:
libdigidocpp1 (= ${binary:Version}),
${misc:Depends}
${misc:Depends},
${shlibs:Depends}
Description: DigiDoc digital signature library development files
This package contains files necessary for developing applications with the
DigiDoc digital signature library.
Expand Down
1 change: 1 addition & 0 deletions debian/libdigidocpp-dev.lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libdigidocpp-dev: sharedobject-in-library-directory-missing-soname
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ if(SWIG_FOUND)
if(JAVA_INCLUDE_PATH)
set(CMAKE_SWIG_FLAGS -package ee.ria.libdigidocpp)
set(CMAKE_SWIG_OUTDIR ${CMAKE_CURRENT_BINARY_DIR}/java)
swig_add_library(digidoc_java TYPE SHARED LANGUAGE java SOURCES ../libdigidocpp.i)
swig_add_module(digidoc_java java ../libdigidocpp.i)
swig_link_libraries(digidoc_java digidocpp)
set_target_properties(digidoc_java PROPERTIES DEBUG_OUTPUT_NAME "digidoc_javad")
target_include_directories(digidoc_java PRIVATE ${JAVA_INCLUDE_PATH})
Expand Down

0 comments on commit be379b8

Please sign in to comment.