summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/bench/workgen
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/bench/workgen')
-rwxr-xr-x[-rw-r--r--]src/third_party/wiredtiger/bench/workgen/setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/bench/workgen/setup.py b/src/third_party/wiredtiger/bench/workgen/setup.py
index 439b9c474fe..9d644133772 100644..100755
--- a/src/third_party/wiredtiger/bench/workgen/setup.py
+++ b/src/third_party/wiredtiger/bench/workgen/setup.py
@@ -62,7 +62,8 @@ wt_ver = '%d.%d' % (WIREDTIGER_VERSION_MAJOR, WIREDTIGER_VERSION_MINOR)
setup(name='workgen', version=wt_ver,
ext_modules=[Extension('_workgen',
[os.path.join(dir, 'workgen_wrap.cxx')],
- libraries=['wiredtiger', 'pthread', 'workgen'],
+ # The ordering of libraries is significant, and matters to some linkers.
+ libraries=['workgen', 'wiredtiger', 'pthread'],
extra_compile_args=extra_cflags,
)],
package_dir={'' : dir},