gnuradio_3.2.1.bb: Add missing dependency on guile-native
authorKhem Raj <raj.khem@gmail.com>
Thu, 26 Aug 2010 18:07:28 +0000 (11:07 -0700)
committerKhem Raj <raj.khem@gmail.com>
Thu, 26 Aug 2010 18:07:28 +0000 (11:07 -0700)
* Pass -fPIC when building libusb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/gnuradio/gnuradio-libusb-compat.inc
recipes/gnuradio/gnuradio_3.2.1.bb

index c10a40c..7dcb728 100644 (file)
@@ -3,7 +3,7 @@ SECTION =  "apps"
 PRIORITY = "optional"
 LICENSE = "GPLv3"
 DEPENDS = "virtual/libusb0 guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy"
-INC_PR = "r7"
+INC_PR = "r8"
 
 inherit distutils-base autotools autotools pkgconfig
 
@@ -40,7 +40,7 @@ do_buildlibusb() {
     sed -e s:tests::g -i Makefile.am
     sed -e s:tests::g -i Makefile.in || true
     ./configure --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir=${datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} --infodir=${infodir} --mandir=${mandir} --disable-shared --disable-build-docs
-    make
+    make CFLAGS='-fPIC -DPIC'
     mv .libs/libusb.a .libs/libusb-gnur.a || true
     cd ${WORKDIR}
 }
index 5744f2d..04f0287 100644 (file)
@@ -1,6 +1,6 @@
 require gnuradio-libusb-compat.inc
 
-DEPENDS += " gsl "
+DEPENDS += " gsl guile-native"
 
 PR = "${INC_PR}.1"