From: Nirbheek Chauhan Date: Tue, 10 Jan 2023 18:50:42 +0000 (+0530) Subject: docs: Need to use versioned paths on macOS X-Git-Tag: 1.22.0~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41ac00c3738ebeb843fc31a871aa7ef3902bc1be;p=platform%2Fupstream%2Fgstreamer.git 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: --- 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`