diff options
author | Josh Blum <josh@joshknows.com> | 2011-02-25 12:12:57 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-02-25 12:12:57 -0800 |
commit | b4bab6dfd97f69ce0ef5ae324503e164c9174de3 (patch) | |
tree | 755ea6e85164a53220c4aa24552681fc10cd0d4b | |
parent | cf4c96c754fee998b14df771d78f086b08ecbd80 (diff) |
uhd: fix export typo and specify export define when building lib
-rw-r--r-- | gr-uhd/include/gr_uhd_api.h | 2 | ||||
-rw-r--r-- | gr-uhd/lib/Makefile.am | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gr-uhd/include/gr_uhd_api.h b/gr-uhd/include/gr_uhd_api.h index a9b99fd87e..d20b82c99b 100644 --- a/gr-uhd/include/gr_uhd_api.h +++ b/gr-uhd/include/gr_uhd_api.h @@ -27,7 +27,7 @@ #ifdef gnuradio_uhd_EXPORTS # define GR_UHD_API UHD_EXPORT #else -# define GR_UHD_API UHD_EXPORT +# define GR_UHD_API UHD_IMPORT #endif #endif /* INCLUDED_GR_UHD_API_H */ diff --git a/gr-uhd/lib/Makefile.am b/gr-uhd/lib/Makefile.am index 8d8578d64d..d93b243e23 100644 --- a/gr-uhd/lib/Makefile.am +++ b/gr-uhd/lib/Makefile.am @@ -24,7 +24,8 @@ include $(top_srcdir)/Makefile.common AM_CPPFLAGS = \ $(STD_DEFINES_AND_INCLUDES) \ $(WITH_INCLUDES) \ - $(UHD_CPPFLAGS) + $(UHD_CPPFLAGS) \ + -Dgnuradio_uhd_EXPORTS lib_LTLIBRARIES = libgnuradio-uhd.la |