fix symbol visibility for automake builds

master
Dimitri Stolnikov 13 years ago
parent e5afd9894d
commit b09628b3e8
  1. 2
      src/Makefile.am
  2. 2
      src/librtlsdr.c

@ -3,7 +3,7 @@
LIBVERSION=0:0:0 LIBVERSION=0:0:0
INCLUDES = $(all_includes) -I$(top_srcdir)/include INCLUDES = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS = -fPIC -Wall AM_CFLAGS = ${CFLAGS} -fPIC ${SYMBOL_VISIBILITY}
lib_LTLIBRARIES = librtlsdr.la lib_LTLIBRARIES = librtlsdr.la

@ -824,7 +824,7 @@ int rtlsdr_set_testmode(rtlsdr_dev_t *dev, int on)
return 0; return 0;
} }
rtlsdr_dongle_t *find_known_device(uint16_t vid, uint16_t pid) static rtlsdr_dongle_t *find_known_device(uint16_t vid, uint16_t pid)
{ {
unsigned int i; unsigned int i;
rtlsdr_dongle_t *device = NULL; rtlsdr_dongle_t *device = NULL;

Loading…
Cancel
Save