docs: Need to use versioned paths on macOS
authorNirbheek Chauhan <nirbheek@centricular.com>
Tue, 10 Jan 2023 18:50:42 +0000 (00:20 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 10 Jan 2023 20:20:19 +0000 (20:20 +0000)
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3706>

subprojects/gst-docs/markdown/installing/on-mac-osx.md

index 24807c7..8931eac 100644 (file)
@@ -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`