mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3706>
This commit is contained in:
parent
9a6b9e274a
commit
41ac00c373
1 changed files with 2 additions and 2 deletions
|
@ -164,10 +164,10 @@ required GStreamer flags.
|
||||||
|
|
||||||
```
|
```
|
||||||
# Tell pkg-config where to find the .pc files
|
# 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
|
# 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
|
# Compile
|
||||||
$ clang -c main.c -o main.o `pkg-config --cflags gstreamer-1.0`
|
$ clang -c main.c -o main.o `pkg-config --cflags gstreamer-1.0`
|
||||||
|
|
Loading…
Reference in a new issue