use _libdir on Tizen
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 26 May 2014 20:28:11 +0000 (22:28 +0200)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 9 Jun 2015 12:04:20 +0000 (21:04 +0900)
Override the default CMAKE_INSTALL_LIBDIR with the right lib or lib64.

Change-Id: I8d8e5572f29eb49f25e464446a7110d37bf9036d
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
packaging/libphonenumber.spec

index 869bc11..ccde64a 100644 (file)
@@ -36,7 +36,7 @@ the Android framework since 4.0 (Ice Cream Sandwich).
 %setup -q -n libphonenumber
 
 %build
-cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=%{_prefix} cpp
+cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_LIBDIR=%{_libdir} cpp
 
 # Parallel builds are broken and/or not supported by upstream, don't
 # use them. The generated Makefile lacks the geocoding_data.cc ->