Fix a build error for ocaml bindings that was introduced with the TargetData -->...
[oota-llvm.git] / bindings / ocaml / executionengine / llvm_executionengine.ml
index b6178dc..ddb53bb 100644 (file)
@@ -84,7 +84,7 @@ module ExecutionEngine = struct
     = "llvm_ee_free_machine_code"
 
   external target_data: t -> Llvm_target.DataLayout.t
-    = "LLVMGetExecutionEngineDataLayout"
+    = "LLVMGetExecutionEngineTargetData"
   
   (* The following are not bound. Patches are welcome.