Use pkg-config to detect the edje data dir.
[redact.git] / lib / redact / app.rb
index 1d51bf74ae531f534c546f3ca250de5911290515..30e6791b9e8c1073eb550ffa195e1bf711bd11c6 100644 (file)
@@ -143,7 +143,7 @@ module Redact
                                        tf_in.flush
 
                                        Tempfile.open("redact_col#{col.id}.amx") do |tf_out|
-                                               incl = `edje-config --datadir`.strip
+                                               incl = `pkg-config edje --variable=datadir`.strip
 
                                                c = "embryo_cc " +
                                                    "-i #{incl}/include " +