|
[Rivet-svn] r1812 - trunk/srcblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Sep 3 00:03:29 BST 2009
Author: buckley Date: Thu Sep 3 00:03:29 2009 New Revision: 1812 Log: Always use .so lib extension for plugins, since libtool on Max OS X uses .so rather than .dylib for non-library 'modules' Modified: trunk/src/AnalysisLoader.cc Modified: trunk/src/AnalysisLoader.cc ============================================================================== --- trunk/src/AnalysisLoader.cc Wed Sep 2 14:34:29 2009 (r1811) +++ trunk/src/AnalysisLoader.cc Thu Sep 3 00:03:29 2009 (r1812) @@ -57,12 +57,6 @@ // Only run once if (!_ptrs.empty()) return; - #ifdef LIB_SUFFIX - const string libsuffix(LIB_SUFFIX); - #else - const string libsuffix(".so"); - #endif - // Build the list of directories to search vector<string> dirs; char* env = 0; @@ -79,6 +73,7 @@ dirs += ".libs"; // Find plugin module library files + const string libsuffix = ".so"; vector<string> pluginfiles; foreach (const string& d, dirs) { if (d.empty()) continue;
More information about the Rivet-svn mailing list |