aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gpac.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-12-26 12:22:34 -0800
committerAdam Vandenberg2010-12-26 12:22:34 -0800
commit4a5c061aa296c995c0eac1ded9f3f0e2d1660a3d (patch)
treea30631c5ce0f0e02bbc2954bd6418c16541b3470 /Library/Formula/gpac.rb
parent6c3d7c24508180f7beddf4825a6c491fc8fe28b8 (diff)
downloadhomebrew-4a5c061aa296c995c0eac1ded9f3f0e2d1660a3d.tar.bz2
gpac - fix x11 library for 64-bit kernels
Diffstat (limited to 'Library/Formula/gpac.rb')
-rw-r--r--Library/Formula/gpac.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/gpac.rb b/Library/Formula/gpac.rb
index 91820c435..564ae47db 100644
--- a/Library/Formula/gpac.rb
+++ b/Library/Formula/gpac.rb
@@ -22,7 +22,9 @@ class Gpac <Formula
system "chmod +x configure"
system "./configure", "--disable-wx", "--use-ffmpeg=no",
"--prefix=#{prefix}",
- "--mandir=#{man}"
+ "--mandir=#{man}",
+ # Force detection of X libs on 64-bit kernel
+ "--extra-ldflags=-L/usr/X11/lib"
system "make"
system "make install"
end