diff options
Diffstat (limited to 'sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch')
-rw-r--r-- | sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch b/sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch index a717a15..e4234b6 100644 --- a/sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch +++ b/sys-cluster/vzctl/files/vzctl-3.0.12-libdir64.patch @@ -1,7 +1,7 @@ -diff --git a/src/Makefile b/src/Makefile -index a8be2d2..85397da 100644 ---- a/src/Makefile -+++ b/src/Makefile +diff --git vzctl-3.0.12.orig/src/Makefile vzctl-3.0.12/src/Makefile +index a8be2d2..36a9bff 100644 +--- vzctl-3.0.12.orig/src/Makefile ++++ vzctl-3.0.12/src/Makefile @@ -17,7 +17,7 @@ # INSTALL = install PREFIX = /usr @@ -11,3 +11,12 @@ index a8be2d2..85397da 100644 CONFDIR = /etc/vz GLBCONFIG = $(CONFDIR)/vz.conf VPSCONFDIR = $(CONFDIR)/conf +@@ -110,7 +110,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 $@ |