diff options
author | Jakob Odersky <jodersky@gmail.com> | 2014-04-18 19:12:41 +0200 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2014-04-18 19:12:41 +0200 |
commit | 6f24c31168b2700504dd81bcd5aff278e3353fef (patch) | |
tree | 16e88554955121614bb188e625d3aabc35ba536a /flow-native/src | |
parent | 7e92a73f8b306ded5c875cd2366f73deeeaade59 (diff) | |
download | akka-serial-6f24c31168b2700504dd81bcd5aff278e3353fef.tar.gz akka-serial-6f24c31168b2700504dd81bcd5aff278e3353fef.tar.bz2 akka-serial-6f24c31168b2700504dd81bcd5aff278e3353fef.zip |
add option to build without versioned libraries
Diffstat (limited to 'flow-native/src')
-rw-r--r-- | flow-native/src/Makefile.am | 5 | ||||
-rw-r--r-- | flow-native/src/Makefile.in | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/flow-native/src/Makefile.am b/flow-native/src/Makefile.am index 4bd42b3..d48136b 100644 --- a/flow-native/src/Makefile.am +++ b/flow-native/src/Makefile.am @@ -1,4 +1,9 @@ lib_LTLIBRARIES = libflow3.la libflow3_la_SOURCES = flow_jni.c platform/posix/flow.c flow.h com_github_jodersky_flow_internal_NativeSerial.h + +if ENABLE_VERSIONED_LIB libflow3_la_LDFLAGS = -version-info 0:0:0 +else +libflow3_la_LDFLAGS = -avoid-version +endif
\ No newline at end of file diff --git a/flow-native/src/Makefile.in b/flow-native/src/Makefile.in index 2dfa1f4..6e4b4c1 100644 --- a/flow-native/src/Makefile.in +++ b/flow-native/src/Makefile.in @@ -216,7 +216,8 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libflow3.la libflow3_la_SOURCES = flow_jni.c platform/posix/flow.c flow.h com_github_jodersky_flow_internal_NativeSerial.h -libflow3_la_LDFLAGS = -version-info 0:0:0 +@ENABLE_VERSIONED_LIB_FALSE@libflow3_la_LDFLAGS = -avoid-version +@ENABLE_VERSIONED_LIB_TRUE@libflow3_la_LDFLAGS = -version-info 0:0:0 all: all-am .SUFFIXES: |