From a223f9af30738cf00c313fabee8de75d04fb9a1a Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 16 Aug 2009 12:00:32 -0700 Subject: More work on Python extension, build libupb PIC. --- lang_ext/python/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang_ext/python/setup.py') diff --git a/lang_ext/python/setup.py b/lang_ext/python/setup.py index de937c4..66862f3 100644 --- a/lang_ext/python/setup.py +++ b/lang_ext/python/setup.py @@ -2,10 +2,10 @@ from distutils.core import setup, Extension setup(name='upb', version='0.1', ext_modules=[Extension('upb.definition', ['definition.c'], - include_dirs=['../../src'], + include_dirs=['../../src', '../../descriptor'], define_macros=[("UPB_USE_PTHREADS", 1), ("UPB_UNALIGNED_READS_OK", 1)], library_dirs=['../../src'], - libraries=['upb'] + libraries=['upb_pic'] )], ) -- cgit v1.2.3