Commits

dizzyd committed 7777278 Merge

Merged pull request #5 from PiotrSikora/master.

Fix linking on *BSD.

Comments (0)

Files changed (1)

 
 {port_envs, [
              %% Make sure to link -lstdc++ on linux or solaris
-             {"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"},
+             {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly)", "LDFLAGS", "$LDFLAGS -lstdc++"},
 
              %% Solaris specific flags
              {"solaris.*-64$", "CXXFLAGS", "-D_REENTRANT -m64"},