From 89a2c994054e1176dafb8b386679f4ae6c3fb62e Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Oct 2007 21:43:54 +0000 Subject: Needs a bit more again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8327 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 8ffabe303..aa39c4628 100755 --- a/configure +++ b/configure @@ -1294,6 +1294,7 @@ if ($config{OSNAME} =~ /darwin/) { PICLDFLAGS = -twolevel_namespace -undefined dynamic_lookup \$(FLAGS) -bundle LAMEFLAGS = $nicerflags +LAMEPICFLAGS = -twolevel_namespace -undefined dynamic_lookup $nicerflags -bundle EOCHEESE } else { @@ -1301,6 +1302,7 @@ EOCHEESE PICLDFLAGS = -fPIC -DPIC -shared \$(FLAGS) LAMEFLAGS = $nicerflags +LAMEPICFLAGS = -fPIC -DPIC -shared $nicerflags EOCHEESE } @@ -1326,17 +1328,19 @@ EOCHEESE if (nopedantic("src/modules/m_".$i.".cpp")) { $fl = "\$(LAMEFLAGS)"; + $pfl = "\$(LAMEPICFLAGS)"; } else { $fl = "\$(FLAGS)"; + $pfl = "\$(PICFLAGS)"; } #print "file: $i: cmflags=$cmflags; liflags=$liflags; deps=$deps\n"; print FILEHANDLE <