]> granicus.if.org Git - pdns/commitdiff
add -ldl to the semistatic makes
authorBert Hubert <bert.hubert@netherlabs.nl>
Fri, 30 Nov 2012 21:06:33 +0000 (21:06 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Fri, 30 Nov 2012 21:06:33 +0000 (21:06 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2945 d19b8d6e-7fed-0310-83ef-9ca221ded41b

build-scripts/semistaticg++

index 68e149852f1884ac05541eff1cbb1c67f4062a94..0e14e8e501f47d25dc739f7569f6e48f57cf473c 100755 (executable)
@@ -15,5 +15,5 @@ for arg in args:
        else:
                otherargs.append(arg)
 
-gargv=['gcc']+otherargs+['-Wl,-Bstatic']+libs+['-lstdc++','-Wl,-Bdynamic','-static-libgcc','-lm']
+gargv=['gcc']+otherargs+['-Wl,-Bstatic']+libs+['-lstdc++','-Wl,-Bdynamic','-static-libgcc','-lm','-ldl']
 os.execvp('gcc', gargv)