Don't ignore libs specified by the user while linking.

This commit is contained in:
Dimitrie O. Paun 2003-11-20 04:20:17 +00:00 committed by Alexandre Julliard
parent 6443ee58bc
commit d1b344b1e2

View file

@ -597,10 +597,14 @@ int main(int argc, char **argv)
strarray_add(link_args, cpp ? "g++" : "gcc");
strarray_add(link_args, "-shared");
strarray_add(link_args, "-Wl,-Bsymbolic,-z,defs");
strarray_add(link_args, "-lwine");
strarray_add(link_args, "-lm");
for (i = 0; i < llib_paths->size; i++)
strarray_add(link_args, llib_paths->base[i]);
strarray_add(link_args, "-lwine");
strarray_add(link_args, "-lm");
for (i = 0; i < lib_files->size; i++)
strarray_add(link_args, lib_files->base[i]);
strarray_add(link_args, "-o");
if (create_wrapper)
strarray_add(link_args, strmake("%s/%s.so", base_path, app_name));