List:Internals« Previous MessageNext Message »
From:Hiromichi Watari Date:December 19 2011 7:13pm
Subject:Can't link custom library
View as plain text  

Hi,

I can't link my custom library with cmake (mysql 5.5), has anyone seen this ?
I ended up adding the library file into link.txt after cmake creates it as a workaround.
Thanks,
Hiromichi

-----------------------------------------------------------------------
CXXFLAGS="-L/my_lib_dir -lfoo"
export CXXFLAGS
cmake .
// modify link.txt as a workaround
make

Thread
Can't link custom libraryHiromichi Watari19 Dec
  • RE: Can't link custom libraryVladislav Vaintroub19 Dec
    • Re: Can't link custom libraryHiromichi Watari19 Dec
      • Re: Can't link custom libraryLeif Walsh19 Dec
        • Re: Can't link custom libraryHiromichi Watari20 Dec