libgee: set -lintl flag only on macos
parent
51f981df4f
commit
50e24fbb2c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue