lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1005687 - /lucene/pylucene/trunk/jcc/setup.py
Date Fri, 08 Oct 2010 00:53:51 GMT
Author: vajda
Date: Fri Oct  8 00:53:51 2010
New Revision: 1005687

URL: http://svn.apache.org/viewvc?rev=1005687&view=rev
Log:
added IMPLIB_FLAGS use in setup.py

Modified:
    lucene/pylucene/trunk/jcc/setup.py

Modified: lucene/pylucene/trunk/jcc/setup.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/setup.py?rev=1005687&r1=1005686&r2=1005687&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/setup.py (original)
+++ lucene/pylucene/trunk/jcc/setup.py Fri Oct  8 00:53:51 2010
@@ -285,10 +285,11 @@ def main(debug):
             kwds["extra_link_args"] = \
                 lflags + ['-lpython%s.%s' %(sys.version_info[0:2])]
             kwds["force_shared"] = True    # requires jcc/patches/patch.43
-        elif platform == 'win32':
+        elif platform in IMPLIB_LFLAGS:
             jcclib = 'jcc%s.lib' %(debug and '_d' or '')
+            implib_flags = ' '.join(IMPLIB_LFLAGS[platform])
             kwds["extra_link_args"] = \
-                lflags + ["/IMPLIB:%s" %(os.path.join('jcc', jcclib))]
+                lflags + [implib_flags %(os.path.join('jcc', jcclib))]
             package_data.append(jcclib)
         else:
             kwds["extra_link_args"] = lflags



Mime
View raw message