summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch')
-rw-r--r--sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch b/sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch
new file mode 100644
index 000000000000..4f9addda4228
--- /dev/null
+++ b/sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch
@@ -0,0 +1,19 @@
+--- MGridGen/Lib/Makefile.am.old 2009-03-10 09:28:13.000000000 +0200
++++ MGridGen/Lib/Makefile.am 2009-03-10 09:28:07.000000000 +0200
+@@ -8,3 +8,5 @@
+ lib_LTLIBRARIES = libMGridGen.la
+ libMGridGen_la_SOURCES = aratio.c coarsen.c kwayfm.c match.c merge.c mgridgen.c refine.c setup.c
+ libMGridGen_la_LDFLAGS = -no-undefined -export-dynamic -version-info 1:0:0
++
++libMGridGen_la_LIBADD = ../IMlib/libIMlib.la
+--- ParMGridGen/ParLib/Makefile.am.old 2009-03-10 09:31:43.000000000 +0200
++++ ParMGridGen/ParLib/Makefile.am 2009-03-10 09:35:13.000000000 +0200
+@@ -8,3 +8,8 @@
+ lib_LTLIBRARIES = libParMGridGen.la
+ libParMGridGen_la_SOURCES = comm.c debug.c grsetup.c ikeysort.c memory.c move.c parmgridgen.c setup.c util.c
+ libParMGridGen_la_LDFLAGS = -no-undefined -export-dynamic -version-info 1:0:0
++
++libParMGridGen_la_LIBADD = \
++ $(top_builddir)/MGridGen/IMlib/libIMlib.la \
++ $(top_builddir)/MGridGen/Lib/libMGridGen.la \
++ ../IMParMetis-2.0/ParMETISLib/libIMparmetis.la