Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libircclient
libircclient-make.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libircclient-make.diff of Package libircclient
diff -Naur libircclient-1.6.orig/src/Makefile.in libircclient-1.6/src/Makefile.in --- libircclient-1.6.orig/src/Makefile.in 2012-01-22 23:13:17.000000000 +0100 +++ libircclient-1.6/src/Makefile.in 2012-02-12 19:48:16.000000000 +0100 @@ -5,6 +5,7 @@ RANLIB=@RANLIB@ INCLUDES=-I../include DESTDIR= +APIVERSION = 1 OBJS = libircclient.o @@ -14,19 +15,19 @@ shared: libircclient.so shared_mingw: libircclient.dll -install: lib +install: -mkdir -p $(DESTDIR)@prefix@/include - -mkdir -p $(DESTDIR)@prefix@/lib + -mkdir -p $(DESTDIR)@libdir@ cp ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h cp ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h cp ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h cp ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h cp ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h - cp libircclient.so $(DESTDIR)@prefix@/lib/ - cp libircclient.a $(DESTDIR)@prefix@/lib/ + cp libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION) + ln -fs libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so libircclient.so: libircclient.o - $(CC) -shared -s -o libircclient.so libircclient.o @LIBS@ + $(CC) -shared -s -Wl,-soname,libircclient.so.$(APIVERSION) -o libircclient.so libircclient.o @LIBS@ libircclient.dll: libircclient.o $(CC) -shared -s -o libircclient.dll -Wl,-out-implib,libircclient.lib libircclient.o libircclient.def -lkernel32 -lwsock32 @LIBS@
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