diff options
author | 2006-10-11 15:28:17 +0000 | |
---|---|---|
committer | 2006-10-11 15:28:17 +0000 | |
commit | 5bdd74cd1127cf16a1c89eec914fb1c913c87118 (patch) | |
tree | 3da5ce521caae44f8914d3d5de97d10fafaac3d6 | |
parent | Removing the library rework, seems fixed from my POV. (diff) | |
download | misc-5bdd74cd1127cf16a1c89eec914fb1c913c87118.tar.gz misc-5bdd74cd1127cf16a1c89eec914fb1c913c87118.tar.bz2 misc-5bdd74cd1127cf16a1c89eec914fb1c913c87118.zip |
libvzctl is missing a SO-name.
svn path=/; revision=501
-rw-r--r-- | vzctl/patches/3.0.12/000_README | 4 | ||||
-rw-r--r-- | vzctl/patches/3.0.12/005_all_libvzctl-soname.patch | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/vzctl/patches/3.0.12/000_README b/vzctl/patches/3.0.12/000_README index 7738ef7..ba443ce 100644 --- a/vzctl/patches/3.0.12/000_README +++ b/vzctl/patches/3.0.12/000_README @@ -9,6 +9,10 @@ FEATURES/MINOR FIXES (config/manpages) Patch descriptions: -------------------------------------- +Patch: 005_all_libvzctl-soname.patch +From: Christian Heim based upon Dmitry's library rework patch +Desc: Adding a soname to /usr/$(get_libdir)/libvzctl.so.0.0.2 + Patch: 210_all_vzctl.8.patch From: Igor Sukhih <igor@openvz.org> Desc: Added --name description to vzctl.8. diff --git a/vzctl/patches/3.0.12/005_all_libvzctl-soname.patch b/vzctl/patches/3.0.12/005_all_libvzctl-soname.patch new file mode 100644 index 0000000..2b4e03f --- /dev/null +++ b/vzctl/patches/3.0.12/005_all_libvzctl-soname.patch @@ -0,0 +1,13 @@ +Index: vzctl-3.0.12/src/Makefile +=================================================================== +--- vzctl-3.0.12.orig/src/Makefile ++++ vzctl-3.0.12/src/Makefile +@@ -117,7 +117,7 @@ libvzctl.a: $(OBJ_libvzctl) $(OBJ_simfs) + ranlib $@ + + $(LIB_vzctl) : $(OBJ_simfs) $(OBJ_libvzctl) +- $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ $(LD_FLAGS) -shared -o $@ ++ $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ $(LD_FLAGS) -shared -Wl,-soname,$@ -o $@ + + vzctl-static: $(OBJ_vzctl) libvzctl.a + $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -rdynamic -ldl -lutil -o $@ |