-- search per-user lib dir first
authorAditya Agarwal <aditya@apache.org>
Wed, 6 Sep 2006 04:19:47 +0000 (04:19 +0000)
committerAditya Agarwal <aditya@apache.org>
Wed, 6 Sep 2006 04:19:47 +0000 (04:19 +0000)
Summary:
-- this should fix the library mismatch issue..

From the gcc linking guide:

LIBRARY_PATH
           The value of LIBRARY_PATH is a colon-separated list of directories,
           much like PATH.  When configured as a native compiler, GCC tries
           the directories thus specified when searching for special linker
           files, if it can't find them using GCC_EXEC_PREFIX.  Linking using
           GCC also uses these directories when searching for ordinary
           libraries for the -l option (but directories specified with -L come
           first).

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664790 13f79535-47bb-0310-9956-ffa450edef68

test/cpp/Makefile.thrift

index 61a5ec9..9664deb 100644 (file)
@@ -32,7 +32,7 @@ LD     = g++
 
 # Compiler flags
 DCFL  = -Wall -O3 -g -I./gen-cpp $(include_flags) -L$(thrift_home)/lib/cpp -lthrift
-CFL   = -Wall -O3 -I./gen-cpp $(include_flags) -L$(thrift_home)/lib -lthrift
+CFL   = -Wall -O3 -I./gen-cpp $(include_flags) -L$(thrift_home)/lib/cpp -lthrift
 
 all: server client