[vlc-commits] [Git][videolan/vlc][master] contrib: vncclient: use our libcrypt-config if it was compiled

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Aug 8 09:03:49 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
2f4f0228 by Steve Lhomme at 2024-08-08T08:13:27+00:00
contrib: vncclient: use our libcrypt-config if it was compiled

Since the PREFIX/bin path is no longer in the PATH, it uses libcrypt-config from
the system (if it exists) which is targetting the native platform.

- - - - -


1 changed file:

- contrib/src/vncclient/rules.mak


Changes:

=====================================
contrib/src/vncclient/rules.mak
=====================================
@@ -33,7 +33,10 @@ vncclient: LibVNCServer-$(VNCCLIENT_VERSION).tar.gz .sum-vncclient
 
 DEPS_vncclient = gcrypt $(DEPS_gcrypt) jpeg $(DEPS_jpeg) png $(DEPS_png) gnutls $(DEPS_gnutls)
 
-VNCCLIENT_CONF := --without-libva
+VNCCLIENT_CONF = --without-libva
+ifeq ($(findstring gcrypt,$(PKGS_FOUND)),)
+VNCCLIENT_CONF += --with-libgcrypt-prefix=$(PREFIX)
+endif
 ifdef HAVE_WIN32
 VNCCLIENT_CONF += --without-pthread
 endif



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2f4f0228d0e4025a9ef7958e71345085e8ef53e8

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2f4f0228d0e4025a9ef7958e71345085e8ef53e8
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list