#1649: licq 1.3.6 qt4-gui do not comply LIB_SUFFIX
------------------------+---------------------------------------------------
Reporter: fundawang | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.3.7
Component: qt4-gui | Version: 1.3.6
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment(by fundawang):
In Mandriva Linux, %cmake rpm macro is expanded to:
{{{
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
mkdir build \
cd build \
%__cmake .. \\\
%if "%{_lib}" != "lib" \
-DLIB_SUFFIX=64 \\\
%endif \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
-DBUILD_SHARED_LIBS:BOOL=ON \\\
-DBUILD_STATIC_LIBS:BOOL=OFF
}}}
And almost the same is applied to fedora, debian, suse, ubuntu, etc. The
reason introducing LIB_SUFFIX is that KDE4 apps are using that schema.
Although it is not cmake's standard variable, it is widely used in almost
all the linux distributions.
--
Ticket URL: <http://www.licq.org/ticket/1649#comment:2>
Licq <http://www.licq.org/>
Licq - an instant messaging client for UNIX.