I think the correct solution is to add a switch in Makefile.common (top level) to right after
USRP_LA = $(top_builddir)/usrp/host/lib/legacy/libusrp.lathat checks the host OS (I choose "FUSB_TECH_darwin"); if it's darwin, then append $(OMNITHREAD_LA) to the $(USRP_LA) list, and likewise for the $(USRP_INCLUDES). That way, -any- application or whatever that wants to compile using libusrp.la will also include omnithread.la , and thus will create a working executable (ditto for the includes). And, since the switch is for darwin only, all the other OSs will just do the same thing they were doing before.
Thoughts? Comments? Let me know if you want me to do these changes on an SVN branch to be merged. - MLD
usrp_omnithread_darwin_fix.diff
Description: Binary data
_______________________________________________ Patch-gnuradio mailing list Patch-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/patch-gnuradio