remove incompatible LDFLAGS

This commit is contained in:
roberto@debian32
2011-08-02 15:13:21 +02:00
parent f0be3c3966
commit f1ad2090fc
+1
View File
@@ -685,6 +685,7 @@ def build_plugin(path, uc, cflags, ldflags, libs, name = None):
else:
gcc_list.append(path + '/' + cfile)
p_ldflags.remove('-Wl,--no-undefined')
gccline = "%s -fPIC %s -o %s.so %s %s %s %s" % (GCC, shared_flag, plugin_dest, ' '.join(p_cflags), ' '.join(p_ldflags), ' '.join(gcc_list), ' '.join(p_libs) )
print(gccline)