summaryrefslogtreecommitdiff
path: root/pjlib/build/os-auto.mak.in
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2013-02-12 14:00:13 -0600
committerJason Parker <jparker@digium.com>2013-03-11 15:43:24 -0500
commit3c3b8c6cf322ceacb451e0de8cac7b8338bbc297 (patch)
tree9a63bb6b422698f6cbf4a8bde776c7e457afb892 /pjlib/build/os-auto.mak.in
parentd4da28c5fed0bc0726da1b7f4d4fe53295bbf14c (diff)
Add support for building and using shared libraries.
Diffstat (limited to 'pjlib/build/os-auto.mak.in')
-rw-r--r--pjlib/build/os-auto.mak.in5
1 files changed, 4 insertions, 1 deletions
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