perl-module/Makefile.PL: Change DLEXT to SO
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 9 Jun 2010 18:22:43 +0000 (20:22 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 9 Jun 2010 18:22:43 +0000 (20:22 +0200)
Apparently the former is for dynamically loaded modules,
whereas the latter is for shared libraries.  So SO is
appropriate here.  Thanks to Jeremy Lavergne for reporting
this.

perl-module/Makefile.PL

index 56b8a930ce77ea4229cce6e6211bc9b27d58ac57..a3b7b465adf80edf6708b40e95a4900e2784059f 100644 (file)
@@ -22,7 +22,7 @@ WriteMakefile(
       (ABSTRACT_FROM  => 'lib/PSPP.pm', # retrieve abstract from module
        AUTHOR         => 'John Darrington <john@darrington.wattle.id.au>') : ()),
     INC       => "-I $Locations{SourceDir}  -I $Locations{SourceDir}/src -I $Locations{SourceDir}/gl -I $Locations{BuildDir}/gl -I $Locations{BuildDir}", 
-    MYEXTLIB  => "$Locations{BuildDir}/src/.libs/libpspp-core.\$(DLEXT)",
+    MYEXTLIB  => "$Locations{BuildDir}/src/.libs/libpspp-core.\$(SO)",
     MAN3PODS  => {"lib/PSPP.pm", "\$(INST_MAN3DIR)/PSPP.3pm",
            "Examples.pod", "\$(INST_MAN3DIR)/PSPP::Examples.3pm"}
 );