mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 19:39:48 -05:00
Qt: Link Framework header folders into include
So programs that rely on `pkg-config <some Qt module> --cflags` will work. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
ee2f510e18
commit
3bdf652d24
1 file changed
+8
@@ -96,6 +96,14 @@ class Qt < Formula
|
||||
cd prefix do
|
||||
ln_s lib, "Frameworks"
|
||||
end
|
||||
|
||||
# The pkg-config files installed suggest that geaders can be found in the
|
||||
# `include` directory. Make this so by creating symlinks from `include` to
|
||||
# the Frameworks' Headers folders.
|
||||
Pathname.glob(lib + '*.framework/Headers').each do |path|
|
||||
framework_name = File.basename(File.dirname(path), '.framework')
|
||||
ln_s path.realpath, include+framework_name
|
||||
end
|
||||
end
|
||||
|
||||
def caveats
|
||||
|
||||
Reference in new issue
Block a user