Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aledr:Dropped
libss7
libss7-1.0.2-SONAME.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libss7-1.0.2-SONAME.patch of Package libss7
diff -ruN libss7-1.0.2-orig/Makefile libss7-1.0.2/Makefile --- libss7-1.0.2-orig/Makefile 2008-08-06 18:49:06.000000000 +0000 +++ libss7-1.0.2/Makefile 2010-01-10 23:22:38.940046390 +0000 @@ -4,13 +4,18 @@ OSARCH=$(shell uname -s) +# SONAME version; should be changed on every ABI change +# please don't change it needlessly; it's perfectly fine to have a SONAME +# of 1.0 and a version of 1.4.x +SONAME:=1.0 + INSTALL_PREFIX=$(DESTDIR) INSTALL_BASE=/usr libdir?=$(INSTALL_BASE)/lib STATIC_OBJS=mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o DYNAMIC_OBJS=mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o STATIC_LIBRARY=libss7.a -DYNAMIC_LIBRARY=libss7.so.1.0 +DYNAMIC_LIBRARY=libss7.so.$(SONAME) CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC LDCONFIG_FLAGS=-n SOFLAGS=-Wl,-hlibss7.so.1 @@ -37,7 +42,7 @@ $(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $< clean: - rm -f *.o *.so *.lo *.so.1 *.so.1.0 + rm -f *.o *.so *.lo *.so.1 *.so.$(SONAME) rm -f parser_debug ss7linktest ss7test $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) rm -f .*.d @@ -46,7 +51,7 @@ mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include install -m 644 libss7.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(libdir) - ( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.1.0 libss7.so.1 ) + ( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.$(SONAME) libss7.so.1 ) install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(libdir) if test $$(id -u) = 0; then $(LDCONFIG); fi @@ -58,7 +63,7 @@ $(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS) $(LDCONFIG) $(LDCONFIG_FLAGS) . ln -sf libss7.so.1 libss7.so - ln -sf libss7.so.1.0 libss7.so.1 + ln -sf libss7.so.$(SONAME) libss7.so.1 version.c: FORCE @build_tools/make_version_c > $@.tmp
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor