Use environment LDFLAGS when building with resample as shared lib (#3290)

This commit is contained in:
Riza Sulistyo 2022-11-22 10:21:55 +07:00 committed by GitHub
parent caf9471769
commit b7aff72764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \
export RESAMPLE_SRCDIR = ../../resample/src
export RESAMPLE_OBJS = resamplesubs.o
export RESAMPLE_CFLAGS = $(_CFLAGS)
export RESAMPLE_LDFLAGS = $(_LDFLAGS)
export RESAMPLE_LIB := libresample-$(TARGET_NAME)$(LIBEXT)