TimothyGu / libilbc

Packaged version of iLBC codec from the WebRTC project
BSD 3-Clause "New" or "Revised" License
64 stars 49 forks source link

Building on 32bit chroot on 64bit host produces objects in /usr/lib64 #19

Closed slackhead closed 9 years ago

slackhead commented 9 years ago

While building in a 32bit chroot on a 64bit host the shared object is installed in /usr/lib64 instead of /usr/lib.

I don't see any cmake option to specify libdir.

This line seems to be doing it:

get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)

I can get around it by sedding the CMakeLists.txt for now, but wonder if there's a better way?

slackhead commented 9 years ago

I should add that this is also the case when building in a 32 OS where the CPU is 64bit.

TimothyGu commented 9 years ago

So… you are using CMake? I'm asking as there are literally 3 supported build systems.

slackhead commented 9 years ago

Yes.. but autotools seems to work better. I noticed the cmake files but not the configure. Thanks for the headsup and sorry for the noise. Closing.

TimothyGu commented 9 years ago

@slackhead Uh, they are not autotools, but a hacked-up version of FFmpeg's configure script. But good to hear it's working.

TimothyGu commented 9 years ago

Oops that's a different project I maintain. sorry about the noise.

TimothyGu commented 9 years ago

I think the issue itself still stands. My gut tells me that it's your CMake setup's problem.