From 3c3b8c6cf322ceacb451e0de8cac7b8338bbc297 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Tue, 12 Feb 2013 14:00:13 -0600 Subject: Add support for building and using shared libraries. --- pjlib/build/os-auto.mak.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pjlib/build/os-auto.mak.in') diff --git a/pjlib/build/os-auto.mak.in b/pjlib/build/os-auto.mak.in index a4a2b8a..8640255 100644 --- a/pjlib/build/os-auto.mak.in +++ b/pjlib/build/os-auto.mak.in @@ -29,7 +29,10 @@ export TEST_LDFLAGS += @LDFLAGS@ @LIBS@ # TARGETS are make targets in the Makefile, to be executed for this given # operating system. # -export TARGETS = pjlib pjlib-test +export TARGETS = $(PJLIB_LIB) $(TEST_EXE) +ifneq ($(PJ_SHARED_LIBRARIES),) +export TARGETS += $(PJLIB_SONAME) +endif -- cgit v1.2.3