[csw-devel] SF.net SVN: gar:[20090] csw/mgar/pkg/lang-python/python/branches/python-2.7 /Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Jan 11 23:33:08 CET 2013


Revision: 20090
          http://gar.svn.sourceforge.net/gar/?rev=20090&view=rev
Author:   wahwah
Date:     2013-01-11 22:33:08 +0000 (Fri, 11 Jan 2013)
Log Message:
-----------
sort out the libffi linking issue

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/python/branches/python-2.7/Makefile

Modified: csw/mgar/pkg/lang-python/python/branches/python-2.7/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-2.7/Makefile	2013-01-11 17:29:20 UTC (rev 20089)
+++ csw/mgar/pkg/lang-python/python/branches/python-2.7/Makefile	2013-01-11 22:33:08 UTC (rev 20090)
@@ -63,7 +63,8 @@
 # pkgchk -L CSWlibffi-dev
 # (...)
 # /opt/csw/lib/ffi/libffi.so=../libffi.so.5.0.10 s none CSWlibffi-dev
-EXTRA_LINKER_FLAGS += -L$(libdir)/ffi
+# EXTRA_LINKER_FLAGS += -L$(libdir)/ffi
+# The above doesn't work; we need to put the flag in front of LINKER_FLAGS.
 
 BASECFLAGS = $(CFLAGS)
 EXTRA_COMMON_EXPORTS = BASECFLAGS
@@ -224,6 +225,8 @@
 
 include gar/category.mk
 
+LINKER_FLAGS := -L$(libdir)/ffi $(LINKER_FLAGS)
+
 post-configure-modulated:
 	for f in Modules/Setup \
 			Makefile \

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list