Skip to content

Commit

Permalink
Fix python module linking
Browse files Browse the repository at this point in the history
  • Loading branch information
abstrakraft committed Feb 21, 2010
1 parent 1a6f467 commit fadf11e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ifdef ROOTDIR
endif

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

install:
$(PYTHON) setup.py install --install-lib=${libdir}/python@PYTHON_VERSION@/site-packages $(SET_ROOT_DIR)
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

setup(name='cwiid',
version='0.6.00',
ext_modules=[Extension('cwiid', ['cwiidmodule.c', 'Wiimote.c'])]
ext_modules=[Extension('cwiid', ['cwiidmodule.c', 'Wiimote.c'], libraries=['cwiid', 'bluetooth'])]
)

0 comments on commit fadf11e

Please sign in to comment.