From 9cd3dd4544a7d3ba08da54c5adbbfe564b0bfc42 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 19 Dec 2013 23:04:04 -0500 Subject: [PATCH] Patched to compile on Linux. --- CMakeLists.txt | 3 ++- pkcs5_pbkdf2.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b64efc7..0a723b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,8 +110,9 @@ add_executable(1pass ) 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 ... diff --git a/pkcs5_pbkdf2.c b/pkcs5_pbkdf2.c index 760b162..3638808 100644 --- a/pkcs5_pbkdf2.c +++ b/pkcs5_pbkdf2.c @@ -22,7 +22,7 @@ #include #include #include -#include +//#include #include "sha1.h"