-ldl is needed only on Linux, not on all Unices.

In particular on FreeBSD there is no -ldl as the respective
functionality is in -lc.

http://code.google.com/p/phantomjs/issues/detail?id=597
1.9
Oleg Pudeyev 2013-01-05 07:55:41 -05:00 committed by Ariya Hidayat
parent c3c17a5364
commit 26e51f4b8a
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@ INCLUDEPATH += $$PWD
SOURCES += mongoose.c
HEADERS += mongoose.h
unix:LIBS += -ldl
linux*:LIBS += -ldl
win32:LIBS += -lWs2_32