diff options
| author | Adam Vandenberg | 2014-03-05 21:28:31 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-07 07:08:52 -0800 |
| commit | b0ae186a3dde2c47f1742b9125941792b46f42fd (patch) | |
| tree | 82fca9a30afd99916b0d03b4bd61d521bb52ea7a /Library/Formula/libspatialite.rb | |
| parent | 4f3188bcef0dd96f9b010d199d903b02ed929295 (diff) | |
| download | homebrew-b0ae186a3dde2c47f1742b9125941792b46f42fd.tar.bz2 | |
use opt shortcuts
Diffstat (limited to 'Library/Formula/libspatialite.rb')
| -rw-r--r-- | Library/Formula/libspatialite.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/libspatialite.rb b/Library/Formula/libspatialite.rb index eef5b1492..89e4cab3e 100644 --- a/Library/Formula/libspatialite.rb +++ b/Library/Formula/libspatialite.rb @@ -39,13 +39,13 @@ class Libspatialite < Formula # Ensure Homebrew's libsqlite is found before the system version. sqlite = Formula["sqlite"] - ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib" - ENV.append 'CFLAGS', "-I#{sqlite.opt_prefix}/include" + ENV.append 'LDFLAGS', "-L#{sqlite.opt_lib}" + ENV.append 'CFLAGS', "-I#{sqlite.opt_include}" unless build.without? 'liblwgeom' lwgeom = Formula["liblwgeom"] - ENV.append 'LDFLAGS', "-L#{lwgeom.opt_prefix}/lib" - ENV.append 'CFLAGS', "-I#{lwgeom.opt_prefix}/include" + ENV.append 'LDFLAGS', "-L#{lwgeom.opt_lib}" + ENV.append 'CFLAGS', "-I#{lwgeom.opt_include}" end args = %W[ |
