kidrigger / godot-videodecoder

GDNative Video Decoder libraries for Godot Game Engine, using FFmpeg library for codecs. A Google Summer of Code Project, 2018
MIT License
84 stars 22 forks source link

SCons: Fix setting RPATH for ffmpeg libs #3

Closed akien-mga closed 5 years ago

akien-mga commented 5 years ago

Works fine on Linux, might work on other platforms too thanks to using the RPATH env variable from SCons (which should expand to the platform-specific LINKFLAGS).

akien-mga commented 5 years ago

I used docs from https://bitbucket.org/scons/scons/wiki/UsingOrigin

I'm actually not sure that it will work on macOS and Windows, the RPATH variable itself should work, but $ORIGIN might be Linux-specific. So we may need to do a platform-based branch here.

kidrigger commented 5 years ago

Fixed in #7 Thanks!