libgee: set -lintl flag only on macos

master
Michka Popoff 2020-11-24 13:00:15 +01:00
parent 51f981df4f
commit 50e24fbb2c
1 changed files with 3 additions and 1 deletions

View File

@ -58,8 +58,10 @@ class Libgee < Formula
-lgee-0.8
-lglib-2.0
-lgobject-2.0
-lintl
]
on_macos do
flags << "-lintl"
end
system ENV.cc, "test.c", "-o", "test", *flags
system "./test"
end