From 71e627edbd52eaf6f147f808e8cbd5de30db6113 Mon Sep 17 00:00:00 2001 From: Joseph Poirier Date: Sat, 28 Nov 2015 20:38:19 -0600 Subject: [PATCH] comment out the moc defs --- rtlsdr.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtlsdr.go b/rtlsdr.go index ab9c2c6..603e2df 100644 --- a/rtlsdr.go +++ b/rtlsdr.go @@ -17,16 +17,16 @@ import ( // $ sudo rmmod dvb_usb_rtl28xxu rtl2832 // If building libusb from source, to regenerate the configure file use: // $ autoreconf -fvi -#ifdef MOC_TEST +//#ifdef MOC_TEST // gcc -fPIC -shared -o librtlsdr_moc.so librtlsdr_moc.c // CC="gcc -DMOCK_TEST" go build -o gortlsdr.a rtlsdr.go exports.go -#cgo linux LDFLAGS: -L. -lrtlsdr_moc -#else +//#cgo linux LDFLAGS: -L. -lrtlsdr_moc +//#else #cgo linux LDFLAGS: -lrtlsdr #cgo darwin LDFLAGS: -lrtlsdr #cgo windows CFLAGS: -IC:/WINDOWS/system32 #cgo windows LDFLAGS: -lrtlsdr -LC:/WINDOWS/system32 -#endif +//#endif #include #include