summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2009-03-30 15:54:42 +0530
committerBalbir Singh <balbir@linux.vnet.ibm.com>2009-03-30 15:54:42 +0530
commit09f5406d4f4c48653d7b28fafd5dc776b0ba1284 (patch)
treea59259ae9b447c90531385d4da7e934c2a62f19e
parent7480df325b11e0a1805054e7272e6af010616362 (diff)
downloadlibcg-09f5406d4f4c48653d7b28fafd5dc776b0ba1284.tar.gz
libcg-09f5406d4f4c48653d7b28fafd5dc776b0ba1284.tar.xz
libcg-09f5406d4f4c48653d7b28fafd5dc776b0ba1284.zip
No matter how often I test, some last-minute change screws everything up...
This time I added duplicate -version-number argument in src/Makefile.am, which results in following compilation error: libtool: link: CURRENT `' must be a nonnegative integer libtool: link: `-version-number' is not valid version information See the patch below, how it should look like. Signed-off-by: Jan Safranek <jsafrane@redhat.com>
-rw-r--r--src/Makefile.am2
-rw-r--r--src/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 93d07e9..f4106ba 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,6 +7,6 @@ INCLUDES = -I$(top_srcdir)/include
lib_LTLIBRARIES = libcgroup.la
libcgroup_la_SOURCES = parse.y lex.l api.c config.c libcgroup-internal.h libcgroup.map wrapper.c
libcgroup_la_LIBADD = -lpthread
-libcgroup_la_LDFLAGS = -Wl,--version-script,libcgroup.map -version-number \
+libcgroup_la_LDFLAGS = -Wl,--version-script,libcgroup.map \
-version-number $(LIBRARY_VERSION_MAJOR):$(LIBRARY_VERSION_MINOR):$(LIBRARY_VERSION_RELEASE)
diff --git a/src/Makefile.in b/src/Makefile.in
index 5583fcf..b9d2e1c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -213,7 +213,7 @@ INCLUDES = -I$(top_srcdir)/include
lib_LTLIBRARIES = libcgroup.la
libcgroup_la_SOURCES = parse.y lex.l api.c config.c libcgroup-internal.h libcgroup.map wrapper.c
libcgroup_la_LIBADD = -lpthread
-libcgroup_la_LDFLAGS = -Wl,--version-script,libcgroup.map -version-number \
+libcgroup_la_LDFLAGS = -Wl,--version-script,libcgroup.map \
-version-number $(LIBRARY_VERSION_MAJOR):$(LIBRARY_VERSION_MINOR):$(LIBRARY_VERSION_RELEASE)
all: all-recursive