Skip to content

Commit bd26f08

Browse files
Only link config module against libdyndt and not libdynd.
1 parent 3cfa675 commit bd26f08

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ set_source_files_properties(dynd/config.pyx PROPERTIES CYTHON_API 1)
182182

183183
cython_add_module(dynd.config dynd.config_pyx True
184184
dynd/include/exception_translation.hpp
185-
dynd/src/array_conversions.cpp
186185
dynd/src/type_conversions.cpp
187-
dynd/src/type_deduction.cpp
188186
${CMAKE_CURRENT_BINARY_DIR}/dynd/src/git_version.cpp
189187
)
190188

@@ -245,7 +243,7 @@ postprocess_cython( postprocess.py dynd.nd.array_postprocess dynd.nd.array_pyx d
245243
postprocess_cython( postprocess.py dynd.nd.callable_postprocess dynd.nd.callable_pyx dynd.nd.callable)
246244

247245
# Linker commands for the dynd.ndt module.
248-
foreach(module dynd.ndt.type dynd.ndt.json)
246+
foreach(module dynd.config dynd.ndt.type dynd.ndt.json)
249247
# Temporarily continue to define PYDYND_EXPORT to avoid inconsistent linkage warnings.
250248
# This should be removed once the macros have been refactored to hide all symbols
251249
# other than module initialization routines.
@@ -281,7 +279,7 @@ foreach(module dynd.ndt.type dynd.ndt.json)
281279
endforeach(module)
282280

283281
# Linker commands for the dynd.nd module.
284-
foreach(module dynd.config dynd.nd.array dynd.nd.callable dynd.nd.functional dynd.nd.registry)
282+
foreach(module dynd.nd.array dynd.nd.callable dynd.nd.functional dynd.nd.registry)
285283
# Temporarily continue to define PYDYND_EXPORT to avoid inconsistent linkage warnings.
286284
# This should be removed once the macros have been refactored to hide all symbols
287285
# other than module initialization routines.

0 commit comments

Comments
 (0)