mongoose: resolve symbols from the shlib.

This commit is contained in:
Juan RP 2012-06-19 10:33:13 +02:00
parent b578c6ea5f
commit a3db2f31de
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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"