Skip to content

Commit e1847b6

Browse files
carlocabBrewTestBot
authored andcommitted
sfml: fix for ARM
Some of its libraries are unusable in a non-standard prefix due to a misconfigured rpath: https://github.com/Homebrew/homebrew-core/runs/1900682083?check_suite_focus=true#step:6:55 Closes #71168. Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
1 parent 166b322 commit e1847b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Formula/sfml.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class Sfml < Formula
55
url "https://www.sfml-dev.org/files/SFML-2.5.1-sources.zip"
66
sha256 "bf1e0643acb92369b24572b703473af60bac82caf5af61e77c063b779471bb7f"
77
license "Zlib"
8+
revision 1
89
head "https://github.com/SFML/SFML.git"
910

1011
bottle do
@@ -36,6 +37,7 @@ def install
3637
rm_rf Dir["extlibs/*"] - ["extlibs/headers"]
3738

3839
system "cmake", ".", *std_cmake_args,
40+
"-DCMAKE_INSTALL_RPATH=#{opt_lib}",
3941
"-DSFML_MISC_INSTALL_PREFIX=#{share}/SFML",
4042
"-DSFML_INSTALL_PKGCONFIG_FILES=TRUE",
4143
"-DSFML_BUILD_DOC=TRUE"

0 commit comments

Comments
 (0)