Browse Source

Merge pull request #179 from rrebane/master

Fix linker error due to undefined reference.
yuyuany 6 years ago
parent
commit
1cac210251
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sdk/libcapable/linux/sgx_capable.cpp

+ 1 - 1
sdk/libcapable/linux/sgx_capable.cpp

@@ -39,7 +39,7 @@
 #include <sgx_capable.h>
 
 #include "se_cdefs.h"
-SGX_ACCESS_VERSION(sgx_capable, 1);
+SGX_ACCESS_VERSION(capable, 1);
 
 /* __cpuid(unsinged int info[4], unsigned int leaf, unsigned int subleaf); */
 /* Because gcc's __get_cpuid() intrinsic is difficult to work with */