1. Basho
  2. Untitled project
  3. ebloom

Commits

dizzyd  committed 7777278 Merge

Merged pull request #5 from PiotrSikora/master.

Fix linking on *BSD.

  • Participants
  • Parent commits 2b3b7c4, faa4570
  • Branches default

Comments (0)

Files changed (1)

File rebar.config

View file
  • Ignore whitespace
 
 {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"},