X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=wifiscand%2Fdebian%2Frules;h=15ce99981ad08a97fb8275da4957a8bcd5c1d17b;hb=4adeafa5ca9908316d526223bdb9e856597437db;hp=4d72a01ce149894cbc2e73216505f78e19677587;hpb=9f6928d319eff7fa929e0647b0adba6b1a7a88c5;p=wifihood diff --git a/wifiscand/debian/rules b/wifiscand/debian/rules index 4d72a01..15ce999 100755 --- a/wifiscand/debian/rules +++ b/wifiscand/debian/rules @@ -34,7 +34,12 @@ build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. - $(MAKE) wifiscand CPPFLAGS="-DHAVE_LIBOSSO" + pkg-config --exists libosso ; \ + if [ $? -eq 0 ] ; then \ + echo $(MAKE) wifiscand CPPFLAGS="-DHAVE_LIBOSSO" ; \ + else \ + echo $(MAKE) wifiscand ; \ + fi touch build-stamp