]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
glog: add dependency on dynamic library
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>
Thu, 25 Jun 2015 13:43:23 +0000 (19:13 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 28 Jun 2015 13:33:51 +0000 (15:33 +0200)
when BR2_STATIC_LIBS=y

src/symbolize.cc:110:19: error: dlfcn.h: No such file or directory

glog requires dlfcn.h header. So add dependency on dynamic library

fixes:
http://autobuild.buildroot.net/results/75d/75d17ceb764c2c1136047c089a0c554770ca98a4/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/glog/Config.in

index aed0a3e7f1f5b96630e32d03031874949e45ef55..534997af4948018b453dc1d14bc64e4b6ea573fe 100644 (file)
@@ -2,10 +2,12 @@ config BR2_PACKAGE_GLOG
        bool "glog"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_STATIC_LIBS
        help
          C++ implementation of the Google logging module
 
          https://github.com/google/glog
 
-comment "glog needs a toolchain w/ C++, threads"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "glog needs a toolchain w/ C++, threads, dynamic library"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS