diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-09-07 19:24:24 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-09-07 19:24:24 +0000 |
commit | d6f354286506bbcdc48b855825d0d17cc2df33d3 (patch) | |
tree | 65a99642255bef54d80d40d8adac9d187e3647ec /net-libs/libircclient/files | |
parent | Drop old (diff) | |
download | gentoo-2-d6f354286506bbcdc48b855825d0d17cc2df33d3.tar.gz gentoo-2-d6f354286506bbcdc48b855825d0d17cc2df33d3.tar.bz2 gentoo-2-d6f354286506bbcdc48b855825d0d17cc2df33d3.zip |
support shared libs
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libircclient/files')
-rw-r--r-- | net-libs/libircclient/files/libircclient-1.6-fpic.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-libs/libircclient/files/libircclient-1.6-fpic.patch b/net-libs/libircclient/files/libircclient-1.6-fpic.patch new file mode 100644 index 000000000000..d191d37b738f --- /dev/null +++ b/net-libs/libircclient/files/libircclient-1.6-fpic.patch @@ -0,0 +1,19 @@ +--- libircclient-1.6/src/Makefile.in ++++ libircclient-1.6/src/Makefile.in +@@ -1,6 +1,6 @@ + # $Id: libircclient-1.6-fpic.patch,v 1.1 2012/09/07 19:24:24 hasufell Exp $ + CC = @CC@ +-CFLAGS = -Wall -DIN_BUILDING_LIBIRC @CFLAGS@ ++CFLAGS = -fPIC -Wall -DIN_BUILDING_LIBIRC @CFLAGS@ + AR=@AR@ cr + RANLIB=@RANLIB@ + INCLUDES=-I../include +@@ -26,7 +26,7 @@ + cp libircclient.a $(DESTDIR)@prefix@/lib/ + + libircclient.so: libircclient.o +- $(CC) -shared -s -o libircclient.so libircclient.o @LIBS@ ++ $(CC) $(CFLAGS) -shared -o libircclient.so libircclient.o $(LDFLAGS) @LIBS@ + + libircclient.dll: libircclient.o + $(CC) -shared -s -o libircclient.dll -Wl,-out-implib,libircclient.lib libircclient.o libircclient.def -lkernel32 -lwsock32 @LIBS@ |