We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad898f2 commit 952fd02Copy full SHA for 952fd02
wrappers/ruby/ext/ldl/ext_ldl/extconf.rb
@@ -1,7 +1,8 @@
1
require 'mkmf'
2
3
# get from this file back to project root
4
-project_root = File.join(File.dirname(__FILE__), "..","..","..","..")
+#project_root = File.join(File.dirname(__FILE__), "..","..","..","..")
5
+project_root = File.expand_path(File.join(File.dirname(__FILE__), "..","..","..","..",".."))
6
7
$srcs = Dir[File.join(__dir__, "*.c")]
8
$srcs += Dir[File.join(project_root, "src", "*.c")]
0 commit comments