summaryrefslogtreecommitdiff
path: root/package/bitlbee/patches/patch-protocols_oscar_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-03-17 14:47:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-03-17 14:47:17 +0100
commit3c8b938f0391f377d91a62236dfe4a3744f81185 (patch)
treedd2bc81b664c7a134f0c35e97dcfcedcbcfa853a /package/bitlbee/patches/patch-protocols_oscar_Makefile
parenta5ad35245264679bda4e2747c6e8c0e77eda7fe3 (diff)
parentcc6ab14ecc81731224aaff814414c55c3ced195b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/bitlbee/patches/patch-protocols_oscar_Makefile')
-rw-r--r--package/bitlbee/patches/patch-protocols_oscar_Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/bitlbee/patches/patch-protocols_oscar_Makefile b/package/bitlbee/patches/patch-protocols_oscar_Makefile
new file mode 100644
index 000000000..2d7e0dde0
--- /dev/null
+++ b/package/bitlbee/patches/patch-protocols_oscar_Makefile
@@ -0,0 +1,17 @@
+--- bitlbee-1.2.4.orig/protocols/oscar/Makefile 2009-10-17 17:26:46.000000000 +0200
++++ bitlbee-1.2.4/protocols/oscar/Makefile 2010-03-07 20:00:56.836124250 +0100
+@@ -12,7 +12,7 @@
+ objects = admin.o auth.o bos.o buddylist.o chat.o chatnav.o conn.o icq.o im.o info.o misc.o msgcookie.o rxhandlers.o rxqueue.o search.o service.o snac.o ssi.o stats.o tlv.o txqueue.o oscar_util.o oscar.o
+
+ CFLAGS += -Wall
+-LFLAGS += -r
++LFLAGS += -Wl,-r -nostdlib
+
+ # [SH] Phony targets
+ all: oscar_mod.o
+@@ -38,4 +38,4 @@ $(objects): %.o: %.c
+
+ oscar_mod.o: $(objects)
+ @echo '*' Linking oscar_mod.o
+- @$(LD) $(LFLAGS) $(objects) -o oscar_mod.o
++ @$(CC) $(LFLAGS) $(objects) -o oscar_mod.o