Blame SOURCES/passenger-4.0.38-libeio.patch

c4323e
diff --git a/build/common_library.rb b/build/common_library.rb
c4323e
index 4348be5..ba13306 100644
c4323e
--- a/build/common_library.rb
c4323e
+++ b/build/common_library.rb
c4323e
@@ -151,8 +151,8 @@ if USE_VENDORED_LIBEV
c4323e
 
c4323e
 	task :clean => 'libev:clean'
c4323e
 else
c4323e
-	LIBEV_CFLAGS = string_option('LIBEV_CFLAGS', '-I/usr/include/libev')
c4323e
-	LIBEV_LIBS   = string_option('LIBEV_LIBS', '-lev')
c4323e
+	LIBEV_CFLAGS = string_option('LIBEV_CFLAGS', '-I/opt/rh/rh-passenger40/root/usr/include/')
c4323e
+	LIBEV_LIBS   = string_option('LIBEV_LIBS', '-L/opt/rh/rh-passenger40/root/usr/lib64 -lev')
c4323e
 	LIBEV_TARGET = nil
c4323e
 	task :libev  # do nothing
c4323e
 end
c4323e
@@ -202,8 +202,8 @@ if USE_VENDORED_LIBEIO
c4323e
 		end
c4323e
 	end
c4323e
 else
c4323e
-	LIBEIO_CFLAGS = string_option('LIBEIO_CFLAGS', '-I/usr/include/libeio')
c4323e
-	LIBEIO_LIBS   = string_option('LIBEIO_LIBS', '-leio')
c4323e
+	LIBEIO_CFLAGS = string_option('LIBEIO_CFLAGS', '-I/opt/rh/rh-passenger40/root/usr/include/')
c4323e
+	LIBEIO_LIBS   = string_option('LIBEIO_LIBS', '-L/opt/rh/rh-passenger40/root/usr/lib64 -lev-eio')
c4323e
 	LIBEIO_TARGET = nil
c4323e
 	task :libeio  # do nothing
c4323e
 end