From 41ac00c3738ebeb843fc31a871aa7ef3902bc1be Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 11 Jan 2023 00:20:42 +0530 Subject: [PATCH] docs: Need to use versioned paths on macOS Especially with pkg-config, it needs to be called with the right path otherwise it might not pick up the prefix correctly. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1677 Part-of: --- subprojects/gst-docs/markdown/installing/on-mac-osx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-docs/markdown/installing/on-mac-osx.md b/subprojects/gst-docs/markdown/installing/on-mac-osx.md index 24807c7..8931eac 100644 --- a/subprojects/gst-docs/markdown/installing/on-mac-osx.md +++ b/subprojects/gst-docs/markdown/installing/on-mac-osx.md @@ -164,10 +164,10 @@ required GStreamer flags. ``` # Tell pkg-config where to find the .pc files -$ export PKG_CONFIG_PATH=/Library/Frameworks/GStreamer.framework/Libraries/pkgconfig/ +$ export PKG_CONFIG_PATH=/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/pkgconfig # We will use the pkg-config provided by the GStreamer.framework -$ export PATH=/Library/Frameworks/GStreamer.framework/Commands/:$PATH +$ export PATH=/Library/Frameworks/GStreamer.framework/Versions/1.0/bin:$PATH # Compile $ clang -c main.c -o main.o `pkg-config --cflags gstreamer-1.0` -- 2.7.4