diff options
Diffstat (limited to 'third_party/build/resample')
-rw-r--r-- | third_party/build/resample/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/third_party/build/resample/Makefile b/third_party/build/resample/Makefile index 72ba28a1..f6b2dc2f 100644 --- a/third_party/build/resample/Makefile +++ b/third_party/build/resample/Makefile @@ -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 |