Patched to compile on Linux.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 19 Dec 2013 23:04:04 -0500
changeset 10 85496558f3a4
parent 9 98c872cc0560
child 11 b52e0f1798b8
Patched to compile on Linux.
CMakeLists.txt
pkcs5_pbkdf2.c
--- a/CMakeLists.txt	Thu Dec 19 09:28:12 2013 -0500
+++ b/CMakeLists.txt	Thu Dec 19 23:04:04 2013 -0500
@@ -110,8 +110,9 @@
 )
 
 if(LINUX)
-    set_target_properties(odin PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN")
+    set_target_properties(1pass PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN")
     # !!! FIXME: other stuff.
+    target_link_libraries(1pass "m")
 endif()
 
 # end of CMakeLists.txt ...
--- a/pkcs5_pbkdf2.c	Thu Dec 19 09:28:12 2013 -0500
+++ b/pkcs5_pbkdf2.c	Thu Dec 19 23:04:04 2013 -0500
@@ -22,7 +22,7 @@
 #include <string.h>
 #include <limits.h>
 #include <stdlib.h>
-#include <util.h>
+//#include <util.h>
 
 #include "sha1.h"