summaryrefslogtreecommitdiff
path: root/package/bitlbee/patches/patch-lib_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-03-16 18:52:56 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-03-16 18:52:56 +0100
commitcc6ab14ecc81731224aaff814414c55c3ced195b (patch)
tree30ee1a79e9336e36b9168cb1200c6fb7f5bdc5c4 /package/bitlbee/patches/patch-lib_Makefile
parent3617bdc66002de2e2b6d977256593fd8eec2e45c (diff)
parent26141f2ba4aa6099782e0e657eb2727ad6baf0ff (diff)
add helptext
Diffstat (limited to 'package/bitlbee/patches/patch-lib_Makefile')
-rw-r--r--package/bitlbee/patches/patch-lib_Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/bitlbee/patches/patch-lib_Makefile b/package/bitlbee/patches/patch-lib_Makefile
new file mode 100644
index 000000000..8fc2484cc
--- /dev/null
+++ b/package/bitlbee/patches/patch-lib_Makefile
@@ -0,0 +1,20 @@
+--- bitlbee-1.2.4.orig/lib/Makefile 2009-10-17 17:26:46.000000000 +0200
++++ bitlbee-1.2.4/lib/Makefile 2010-03-07 19:58:49.626028152 +0100
+@@ -12,7 +12,7 @@
+ objects = arc.o base64.o $(EVENT_HANDLER) http_client.o ini.o md5.o misc.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o
+
+ CFLAGS += -Wall
+-LFLAGS += -r
++LFLAGS += -Wl,-r -nostdlib
+
+ # [SH] Phony targets
+ all: lib.o
+@@ -32,7 +32,7 @@ distclean: clean $(subdirs)
+
+ lib.o: $(objects) $(subdirs)
+ @echo '*' Linking lib.o
+- @$(LD) $(LFLAGS) $(objects) -o lib.o
++ @$(CC) $(LFLAGS) $(objects) -o lib.o
+
+ $(objects): ../Makefile.settings Makefile
+