Commit 4033200e authored by Brenden Blanco's avatar Brenden Blanco Committed by GitHub

Merge pull request #1157 from drepper/fedora-compile

Fedora compile
parents 3263805b e674174e
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
FIND_PATH(LUAJIT_INCLUDE_DIR lua.h FIND_PATH(LUAJIT_INCLUDE_DIR lua.h
HINTS HINTS
$ENV{LUAJIT_DIR} $ENV{LUAJIT_DIR}
PATH_SUFFIXES include/luajit-2.0 include/luajit2.0 include/luajit include/luajit-2.1 include PATH_SUFFIXES luajit-2.0 luajit2.0 luajit luajit-2.1
PATHS PATHS
~/Library/Frameworks ~/Library/Frameworks
/Library/Frameworks /Library/Frameworks
...@@ -44,7 +44,7 @@ FIND_PATH(LUAJIT_INCLUDE_DIR lua.h ...@@ -44,7 +44,7 @@ FIND_PATH(LUAJIT_INCLUDE_DIR lua.h
) )
FIND_LIBRARY(LUAJIT_LIBRARY FIND_LIBRARY(LUAJIT_LIBRARY
NAMES libluajit-51.a libluajit-5.1.a libluajit.a NAMES libluajit-51.a libluajit-5.1.a libluajit.a libluajit-5.1.so
HINTS HINTS
$ENV{LUAJIT_DIR} $ENV{LUAJIT_DIR}
PATH_SUFFIXES lib64 lib PATH_SUFFIXES lib64 lib
......
...@@ -311,7 +311,7 @@ static bool match_so_flags(int flags) { ...@@ -311,7 +311,7 @@ static bool match_so_flags(int flags) {
return (sizeof(void *) == 8); return (sizeof(void *) == 8);
} }
return true; return sizeof(void *) == 4;
} }
static bool which_so_in_process(const char* libname, int pid, char* libpath) { static bool which_so_in_process(const char* libname, int pid, char* libpath) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment