diff options
Diffstat (limited to 'net-libs/libircclient/files/libircclient-1.6-fpic.patch')
-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@ |