File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
main/resources-precompiled/natives/osx_64 Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,6 @@ elseif(FORCE_M64)
126126 # Build 64-bit binary on Linux
127127 set_target_properties (jssc PROPERTIES COMPILE_FLAGS -m64 LINK_FLAGS -m64)
128128endif ()
129- # Copy native library back to source tree
130- add_custom_command (TARGET jssc POST_BUILD
131- COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_BINARY_DIR} /natives/ ${CMAKE_CURRENT_SOURCE_DIR} /src/main/resources-precompiled/natives/
132- )
133129
134130# Call strip on non-debug builds
135131if (CMAKE_STRIP AND NOT CMAKE_BUILD_TYPE MATCHES "Deb" )
@@ -139,6 +135,11 @@ if(CMAKE_STRIP AND NOT CMAKE_BUILD_TYPE MATCHES "Deb")
139135 add_custom_command (TARGET jssc POST_BUILD COMMAND "${CMAKE_STRIP} " ${STRIP_ARGS} $<TARGET_FILE:jssc>)
140136endif ()
141137
138+ # Copy native library back to source tree
139+ add_custom_command (TARGET jssc POST_BUILD
140+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_BINARY_DIR} /natives/ ${CMAKE_CURRENT_SOURCE_DIR} /src/main/resources-precompiled/natives/
141+ )
142+
142143# Handle compiler warnings
143144if (MSVC )
144145 #TODO Treat warnings as errors /WX
Original file line number Diff line number Diff line change 66
77 <groupId >io.github.java-native.jssc</groupId >
88 <artifactId >jssc</artifactId >
9- <version >2.9.0 </version >
9+ <version >2.9.1 </version >
1010
1111 <properties >
1212 <java .version>1.6</java .version>
Original file line number Diff line number Diff line change 3535public class SerialNativeInterface {
3636
3737 private static final String libVersion = "2.9" ;
38- private static final String libMinorSuffix = "0 " ; //since 0.9.0
38+ private static final String libMinorSuffix = "1 " ; //since 0.9.0
3939
4040 public static final int OS_LINUX = 0 ;
4141 public static final int OS_WINDOWS = 1 ;
You can’t perform that action at this time.
0 commit comments