/[vps]/vzctl/patches/3.0.12/005_all_libvzctl-soname.patch
Gentoo

Contents of /vzctl/patches/3.0.12/005_all_libvzctl-soname.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 503 - (show annotations) (download)
Wed Oct 11 18:35:38 2006 UTC (8 years ago) by phreak
File size: 796 byte(s)
Updating the SO-name patch.
1 Index: vzctl-3.0.12/src/Makefile
2 ===================================================================
3 --- vzctl-3.0.12.orig/src/Makefile
4 +++ vzctl-3.0.12/src/Makefile
5 @@ -110,14 +110,14 @@ check-version:
6 $(CC) -c $(CFLAGS) $(SHAREDLIB_CFLAGS) $(INC) $< -o $@
7
8 $(LIB_fs) : $(OBJ_simfs) lib/logger.lo
9 - $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -shared -o $@
10 + $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared --Wl,-soname,$@ -o $@ $^
11
12 libvzctl.a: $(OBJ_libvzctl) $(OBJ_simfs)
13 ar scq $@ $+
14 ranlib $@
15
16 $(LIB_vzctl) : $(OBJ_simfs) $(OBJ_libvzctl)
17 - $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ $(LD_FLAGS) -shared -o $@
18 + $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ $(LD_FLAGS) -shared -Wl,-soname,$@ -o $@
19
20 vzctl-static: $(OBJ_vzctl) libvzctl.a
21 $(CC) $(CFLAGS) $(INC) $(LDFLAGS) $^ -rdynamic -ldl -lutil -o $@

  ViewVC Help
Powered by ViewVC 1.1.20