librtmp: call *-pkg-config only for static builds

pull/574/head
Tony Theodore 10 years ago
parent b2090ea996
commit 4a758acf46

@ -18,7 +18,8 @@ define $(PKG)_BUILD
prefix='$(PREFIX)/$(TARGET)' \
SYS=mingw \
CRYPTO=GNUTLS \
$(if $(BUILD_STATIC),SHARED=no,) \
LIB_GNUTLS="`$(TARGET)-pkg-config --libs-only-l gnutls --static`" \
$(if $(BUILD_STATIC),\
SHARED=no \
LIB_GNUTLS="`$(TARGET)-pkg-config --libs-only-l gnutls`",) \
-j '$(JOBS)' install
endef

Loading…
Cancel
Save