Permalink
Browse files

Added /usr/X11/include to include path

  • Loading branch information...
1 parent f6b4c64 commit acc02b50bf6e3545d07fd78e5b39c39caceb038c Jan Wedekind committed Jul 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
require 'rbconfig'
PKG_NAME = 'hornetseye-xorg'
-PKG_VERSION = '1.0.0'
+PKG_VERSION = '1.0.1'
CFG = RbConfig::CONFIG
CXX = ENV[ 'CXX' ] || 'g++'
RB_FILES = FileList[ 'lib/**/*.rb' ]
@@ -28,6 +28,7 @@ HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-xorg/}
OBJ = CC_FILES.ext 'o'
$CXXFLAGS = "-DNDEBUG -DHAVE_CONFIG_H -D__STDC_CONSTANT_MACROS #{CFG[ 'CPPFLAGS' ]} #{CFG[ 'CFLAGS' ]}"
+$CXXFLAGS = "#{$CXXFLAGS} -I/usr/X11/include"
if CFG[ 'rubyhdrdir' ]
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[ 'rubyhdrdir' ]} " +
"-I#{CFG[ 'rubyhdrdir' ]}/#{CFG[ 'arch' ]}"

0 comments on commit acc02b5

Please sign in to comment.