From a3db2f31de99a8e6b85244b73e68898045909db9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 19 Jun 2012 10:33:13 +0200 Subject: [PATCH] mongoose: resolve symbols from the shlib. --- srcpkgs/mongoose/patches/mk-tweaks.patch | 2 +- srcpkgs/mongoose/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/mongoose/patches/mk-tweaks.patch b/srcpkgs/mongoose/patches/mk-tweaks.patch index 0adc90aac4e..f2f6d74fd55 100644 --- a/srcpkgs/mongoose/patches/mk-tweaks.patch +++ b/srcpkgs/mongoose/patches/mk-tweaks.patch @@ -23,7 +23,7 @@ - $(CC) mongoose.c main.c -o $(PROG) $(LINFLAGS) + $(CC) mongoose.c -shared -fPIC -fpic -Wl,-soname,$(LIB) \ + -o $(LIB) $(LINFLAGS) $(CFLAGS) -+ $(CC) mongoose.c main.c -o $(PROG) $(LINFLAGS) -L. $(LIB) $(CFLAGS) ++ $(CC) main.c -o $(PROG) $(LINFLAGS) -L. $(LIB) $(CFLAGS) bsd: $(CC) mongoose.c -shared -pthread -fpic -fPIC -o $(LIB) $(CFLAGS) diff --git a/srcpkgs/mongoose/template b/srcpkgs/mongoose/template index dec11e249ac..ee97ad7c7ae 100644 --- a/srcpkgs/mongoose/template +++ b/srcpkgs/mongoose/template @@ -1,7 +1,7 @@ # Template file for 'mongoose' pkgname=mongoose version=3.1 -revision=1 +revision=2 wrksrc=$pkgname build_style=gnu-makefile make_build_args="linux"