[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 06/08: Use -undefined dynamic_lookup linkag
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 06/08: Use -undefined dynamic_lookup linkage for python on macos |
Date: |
Thu, 26 Jan 2017 14:46:38 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit a53e32eef5d6461976014d593085681f405831b7
Author: kolen <address@hidden>
Date: Thu Dec 15 21:29:41 2016 +0300
Use -undefined dynamic_lookup linkage for python on macos
---
cmake/Modules/GrSwig.cmake | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/cmake/Modules/GrSwig.cmake b/cmake/Modules/GrSwig.cmake
index ef3a76e..8ff2793 100644
--- a/cmake/Modules/GrSwig.cmake
+++ b/cmake/Modules/GrSwig.cmake
@@ -190,7 +190,12 @@ macro(GR_SWIG_MAKE name)
#setup the actual swig library target to be built
include(UseSWIG)
SWIG_ADD_MODULE(${name} python ${ifiles})
- SWIG_LINK_LIBRARIES(${name} ${PYTHON_LIBRARIES} ${GR_SWIG_LIBRARIES})
+ if(APPLE)
+ set(PYTHON_LINK_OPTIONS "-undefined dynamic_lookup")
+ else()
+ set(PYTHON_LINK_OPTIONS ${PYTHON_LIBRARIES})
+ endif(APPLE)
+ SWIG_LINK_LIBRARIES(${name} ${PYTHON_LINK_OPTIONS} ${GR_SWIG_LIBRARIES})
if(${name} STREQUAL "runtime_swig")
SET_TARGET_PROPERTIES(${SWIG_MODULE_runtime_swig_REAL_NAME} PROPERTIES
DEFINE_SYMBOL "gnuradio_runtime_EXPORTS")
endif(${name} STREQUAL "runtime_swig")
- [Commit-gnuradio] [gnuradio] branch maint updated (509330c -> 034a7d4), git, 2017/01/26
- [Commit-gnuradio] [gnuradio] 08/08: Merge remote-tracking branch 'skoslowski/fix_virtual_connection_1166' into maint, git, 2017/01/26
- [Commit-gnuradio] [gnuradio] 07/08: Use -undefined dynamic_lookup linkage for python on macos in newmod, git, 2017/01/26
- [Commit-gnuradio] [gnuradio] 04/08: gr-qtgui: syntax error in time_sink grc template solved, git, 2017/01/26
- [Commit-gnuradio] [gnuradio] 03/08: grc: show detected virtual connection loops as errors in GUI", git, 2017/01/26
- [Commit-gnuradio] [gnuradio] 01/08: grc: allow for multiple sources over virtual connections (#1166), git, 2017/01/26
- [Commit-gnuradio] [gnuradio] 05/08: Merge remote-tracking branch 'kartikp/time_sink_grc_syntax' into maint, git, 2017/01/26
- [Commit-gnuradio] [gnuradio] 02/08: grc: fix port type resolution in pad sink/source (when using Type=Wildcard), git, 2017/01/26
- [Commit-gnuradio] [gnuradio] 06/08: Use -undefined dynamic_lookup linkage for python on macos,
git <=