summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-19 15:18:20 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-19 15:18:20 +0200
commitb1ee2a9864ac9dd37b9bfb291ceb761133ba5a5c (patch)
tree285f6f995c4c3e511666a10e0f288a90d2d1db3f
parent25f9447bcc6603bd3f0fd2b523e1061449938735 (diff)
downloadffi-efl-b1ee2a9864ac9dd37b9bfb291ceb761133ba5a5c.zip
ffi-efl-b1ee2a9864ac9dd37b9bfb291ceb761133ba5a5c.tar.gz
fix Efl::PACKAGE_.. constants
-rw-r--r--lib/efl.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/efl.rb b/lib/efl.rb
index 0d5462b..ab8322b 100644
--- a/lib/efl.rb
+++ b/lib/efl.rb
@@ -6,9 +6,9 @@ module Efl
#
VERSION = '0.0.8'
#
- PACKAGE_BIN_DIR = File.join `pkg-config --variable=exec_prefix ecore`, 'bin'
- PACKAGE_LIB_DIR = File.join `pkg-config --variable=exec_prefix ecore`, 'lib'
- PACKAGE_DATA_DIR = File.join `pkg-config --variable=exec_prefix ecore`, 'share'
+ PACKAGE_BIN_DIR = File.join `pkg-config --variable=exec_prefix ecore`.strip, 'bin'
+ PACKAGE_LIB_DIR = File.join `pkg-config --variable=exec_prefix ecore`.strip, 'lib'
+ PACKAGE_DATA_DIR = File.join `pkg-config --variable=exec_prefix ecore`.strip, 'share'
#
autoload :EcoreEvas, './lib/efl/ecore_evas.rb'
autoload :EcoreGetopt, './lib/efl/ecore_getopt.rb'