Better method to find DynaLoader.a, fixed some Fedora failures.
[perl4caml.git] / Makefile.config
index 09b89f6..212361b 100644 (file)
@@ -1,5 +1,5 @@
 # perl4caml configuration -*- Makefile -*-
-# $Id: Makefile.config,v 1.25 2005-03-31 13:46:31 rich Exp $
+# $Id: Makefile.config,v 1.26 2008-02-23 15:57:58 rich Exp $
 
 # PERLINCDIR
 # Directory containing the Perl include files, eg. <EXTERN.h>.
@@ -36,10 +36,11 @@ EXTRA_CFLAGS := -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1
 # To work out what this should be, try:
 # `perl -MExtUtils::Embed -e ldopts'
 
-DYNALOADER_HACK := /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
+DYNALOADER_HACK := $(shell perl -MExtUtils::Embed -e ldopts | egrep -o '/[^[:space:]]*DynaLoader.a')
+#DYNALOADER_HACK := /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
 #DYNALOADER_HACK := /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
 
 # PACKAGE and VERSION
 
 PACKAGE := perl4caml
-VERSION := 0.9.3
+VERSION := 0.9.4