i-rinat / apulse

PulseAudio emulation for ALSA
MIT License
609 stars 35 forks source link

32bit apulse libraries in /usr/lib64 instead of /usr/lib32 #7

Closed WiseLord closed 10 years ago

WiseLord commented 10 years ago

When compiling "32-bit binaries on 64-bit machine" option, we have 32-bit binaries in /usr/lib64 folder:

wiselord lib # file /usr/lib64/apulse/libpulse.so.0 /usr/lib64/apulse/libpulse.so.0: ELF 32-bit LSB shared object, Intel 80386...,

because /usr/lib is usually just a link to /usr/lib64.

Maybe it'd be better to place apulse libraries to /usr/lib32/apulse by default when "CFLAGS=-m32" is used?

Also this can allow to compile both 32/64 apulse binaries at the same time

i-rinat commented 10 years ago

Fixed in 2b44920caf3c66dc751d16ae847bfc1f69bfacd9.

Now you can select where to put shared libraries by setting APULSEPATH parameter: cmake -DCMAKE_INSTALL_PREFIX=/use -DAPULSEPATH=/usr/lib32/apulse ..