Changeset 5425:2c3f247e8f9a in roaraudio


Ignore:
Timestamp:
03/20/12 02:55:05 (10 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use SHARED_SUFFIX from configure script, not hardcoded list

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r5423 r5425  
    15511551 echo "#define ROAR_VORBIS_BITS      $VORBIS_BITS" 
    15521552 echo 
     1553 echo "#define ROAR_SHARED_SUFFIX \"$SHARED_SUFFIX\"" 
    15531554 echo "#define ROAR_PREFIX_PLUGINS \"$PREFIX_PLUGINS\"" 
    15541555 echo 
  • libroar/plugincontainer.c

    r5423 r5425  
    158158 struct dirent * dirent; 
    159159 char file[1024]; 
    160  const char * file_format[] = {"%s/%s/%s", "%s/%s/%s.so", "%s/%s/lib%s.so"}; 
     160 const char * file_format[] = {"%s/%s/%s", "%s/%s/%s" ROAR_SHARED_SUFFIX, "%s/%s/lib%s" ROAR_SHARED_SUFFIX}; 
    161161//  cont->handle[idx] = roar_dl_open(name, ROAR_DL_FLAG_DEFAULTS, 1, para); 
    162162//#vars: $PREFIX_PLUGINS, $hostvendor, $hostname, $name 
Note: See TracChangeset for help on using the changeset viewer.