33 |
An explicit definition of STATIC_PACKAGES or DYNAMIC_PACKAGES is also |
An explicit definition of STATIC_PACKAGES or DYNAMIC_PACKAGES is also |
34 |
required. |
required. |
35 |
*/ |
*/ |
|
|
|
36 |
#ifndef DYNAMIC_PACKAGES |
#ifndef DYNAMIC_PACKAGES |
37 |
# error "WHERE IS THE DYNAMICS PACKAGES #DEF?!" |
# error "WHERE IS THE DYNAMICS PACKAGES #DEF?!" |
38 |
#endif |
#endif |
215 |
#elif defined(DYNAMIC_PACKAGES) |
#elif defined(DYNAMIC_PACKAGES) |
216 |
|
|
217 |
symchar *name_with_extn; |
symchar *name_with_extn; |
|
name_with_extn = MakeArchiveLibraryName(name); |
|
218 |
|
|
219 |
int result; |
int result; |
220 |
char *default_path = "."; |
char *default_path = "."; |
224 |
|
|
225 |
char initfunc_generated_name[255]; |
char initfunc_generated_name[255]; |
226 |
|
|
227 |
|
name_with_extn = MakeArchiveLibraryName(name); |
228 |
|
|
229 |
full_file_name = SearchArchiveLibraryPath(name_with_extn,default_path,env); |
full_file_name = SearchArchiveLibraryPath(name_with_extn,default_path,env); |
230 |
if (!full_file_name) { |
if (!full_file_name) { |
231 |
ERROR_REPORTER_NOLINE(ASC_USER_ERROR,"The named library '%s' was not found in the search path",name_with_extn); |
ERROR_REPORTER_NOLINE(ASC_USER_ERROR,"The named library '%s' was not found in the search path",name_with_extn); |