Skip to content

Commit fadf11e

Browse files
committed
Fix python module linking
1 parent 1a6f467 commit fadf11e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ifdef ROOTDIR
77
endif
88

99
all:
10-
$(PYTHON) setup.py build_ext $(DEBUGFLAGS) -I@top_builddir@/libcwiid -L@top_builddir@/libcwiid -lcwiid -lbluetooth
10+
$(PYTHON) setup.py build_ext $(DEBUGFLAGS) -I@top_builddir@/libcwiid -L@top_builddir@/libcwiid
1111

1212
install:
1313
$(PYTHON) setup.py install --install-lib=${libdir}/python@PYTHON_VERSION@/site-packages $(SET_ROOT_DIR)

python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
setup(name='cwiid',
44
version='0.6.00',
5-
ext_modules=[Extension('cwiid', ['cwiidmodule.c', 'Wiimote.c'])]
5+
ext_modules=[Extension('cwiid', ['cwiidmodule.c', 'Wiimote.c'], libraries=['cwiid', 'bluetooth'])]
66
)

0 commit comments

Comments
 (0)