From 95a72ac82a4ddd0fc8f27cc487e292ee70fa9c97 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 18 Nov 2011 15:43:55 -0800 Subject: [PATCH] Add $(SOLIBS) macro for shared lib dependencies --- libraries/libmdb/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/libmdb/Makefile b/libraries/libmdb/Makefile index e49e275638..88297078e1 100644 --- a/libraries/libmdb/Makefile +++ b/libraries/libmdb/Makefile @@ -3,6 +3,7 @@ W = -W -Wall -Wno-unused-parameter -Wbad-function-cast OPT = -O2 -g CFLAGS = -pthread $(OPT) $(W) $(XCFLAGS) LDLIBS = +SOLIBS = PROGS = mdb_stat mtest mtest2 mtest3 mtest4 mtest5 all: libmdb.a libmdb.so $(PROGS) @@ -18,7 +19,7 @@ libmdb.a: mdb.o midl.o ar rs $@ mdb.o midl.o libmdb.so: mdb.o midl.o - gcc -shared -o $@ mdb.o midl.o + gcc -shared -o $@ mdb.o midl.o $(SOLIBS) mdb_stat: mdb_stat.o libmdb.a mtest: mtest.o libmdb.a -- 2.39.5