[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 07/08: Use -undefined dynamic_lookup linkag
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 07/08: Use -undefined dynamic_lookup linkage for python on macos in newmod |
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 771d5091163f30c3be5611d19822d6f8ee4f57ff
Author: kolen <address@hidden>
Date: Tue Jan 17 23:07:37 2017 +0300
Use -undefined dynamic_lookup linkage for python on macos in newmod
---
gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
index abf4dc4..33f37d2 100644
--- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
+++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
@@ -171,7 +171,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 <=
- [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, 2017/01/26