Commit d3a8ebfa authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #3381 from sorah/asn

Put package's libs flag after %{objs}
parents 147c5c54 ee7fc56d
...@@ -135,7 +135,7 @@ module MRuby ...@@ -135,7 +135,7 @@ module MRuby
if system("pkg-config --exists #{escaped_package_query}") if system("pkg-config --exists #{escaped_package_query}")
cc.flags += [`pkg-config --cflags #{escaped_package_query}`.strip] cc.flags += [`pkg-config --cflags #{escaped_package_query}`.strip]
cxx.flags += [`pkg-config --cflags #{escaped_package_query}`.strip] cxx.flags += [`pkg-config --cflags #{escaped_package_query}`.strip]
linker.flags += [`pkg-config --libs #{escaped_package_query}`.strip] linker.flags_before_libraries += [`pkg-config --libs #{escaped_package_query}`.strip]
true true
else else
false false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment