mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
Add debug symbol lookup fix to Qt.
This commit is contained in:
1 parent
a8a0c3e56a
commit
eb3bb8f047
1 file changed
+10
-6
+10
-6
@@ -43,12 +43,6 @@ class Qt < Formula
|
||||
args << "-no-qt3support"
|
||||
end
|
||||
|
||||
if ARGV.include? '--with-debug-and-release'
|
||||
args << "-debug-and-release"
|
||||
else
|
||||
args << "-release"
|
||||
end
|
||||
|
||||
unless ARGV.include? '--with-demos-examples'
|
||||
args << "-nomake" << "demos" << "-nomake" << "examples"
|
||||
end
|
||||
@@ -61,6 +55,16 @@ class Qt < Formula
|
||||
args << '-arch' << 'x86'
|
||||
end
|
||||
|
||||
if ARGV.include? '--with-debug-and-release'
|
||||
args << "-debug-and-release"
|
||||
# Debug symbols need to find the source so build in the prefix
|
||||
Dir.chdir '..'
|
||||
mv "qt-everywhere-opensource-src-#{version}", "#{prefix}/src"
|
||||
Dir.chdir "#{prefix}/src"
|
||||
else
|
||||
args << "-release"
|
||||
end
|
||||
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
ENV.j1
|
||||
|
||||
Reference in new issue
Block a user