Skip to content

Commit

Permalink
Added /usr/X11/include to include path
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wedekind committed Jul 4, 2012
1 parent f6b4c64 commit acc02b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -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' ]
Expand All @@ -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' ]}"
Expand Down

0 comments on commit acc02b5

Please sign in to comment.