Misc (re #1882): Updated libresample makefile to also generate shared library when configure param '--enable-resample-dll' (see also #1462) is specified.

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5189 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Nanang Izzuddin 2015-10-23 08:05:12 +00:00
parent aa4c388fbe
commit 9093e07fad
1 changed files with 6 additions and 2 deletions

View File

@ -23,8 +23,12 @@ export RESAMPLE_CFLAGS = $(_CFLAGS)
export RESAMPLE_LIB := libresample-$(TARGET_NAME)$(LIBEXT)
ifeq ($(PJ_SHARED_LIBRARIES),)
else
ifneq ($(PJ_SHARED_LIBRARIES),)
export RESAMPLE_SONAME := libresample.$(SHLIB_SUFFIX)
export RESAMPLE_SHLIB := $(RESAMPLE_SONAME).$(PJ_VERSION_MAJOR)
endif
ifneq ($(PJ_RESAMPLE_DLL),)
export RESAMPLE_SONAME := libresample.$(SHLIB_SUFFIX)
export RESAMPLE_SHLIB := $(RESAMPLE_SONAME).$(PJ_VERSION_MAJOR)
endif