Skip to content

Commit

Permalink
Update dylib_packer.zsh
Browse files Browse the repository at this point in the history
Update paths
  • Loading branch information
vapidinfinity committed Oct 6, 2024
1 parent 1030fb8 commit c2d7f6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/dylib_packer.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ update_dylib_paths() {
# Function to copy the libraries into the appropriate directories
copy_libraries() {
local lib="$1"
local gstreamer_dir="Libraries/Wine/lib/gstreamer-1.0"
local lib_dir="Libraries/Wine/lib"
local gstreamer_dir="Engine/wine/lib/gstreamer-1.0"
local lib_dir="Engine/wine/lib"

mkdir -p "$gstreamer_dir" "$lib_dir"

Expand Down Expand Up @@ -169,7 +169,7 @@ for dylib in "${all_dylibs[@]}"; do
done

# Copy GStreamer include files
cp -a "$(brew --prefix gstreamer)/lib/gstreamer-1.0/include" Libraries/Wine/lib/gstreamer-1.0
cp -a "$(brew --prefix gstreamer)/lib/gstreamer-1.0/include" Engine/wine/lib/gstreamer-1.0

# Update specific GStreamer shared object
update_dylib_paths Libraries/Wine/lib/wine/x86_64-unix/winegstreamer.so "@rpath/"
update_dylib_paths Engine/wine/lib/wine/x86_64-unix/winegstreamer.so "@rpath/"

0 comments on commit c2d7f6b

Please sign in to comment.