diff options
-rw-r--r-- | bootstrap.gmake | 2 | ||||
-rwxr-xr-x | bootstrap.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.gmake b/bootstrap.gmake index e4d4b33..269d749 100644 --- a/bootstrap.gmake +++ b/bootstrap.gmake @@ -43,7 +43,7 @@ ifeq ($(OS),Windows_NT) chost := i686-w64-mingw32 override LIBS += -limagehlp else - override LIBS += -lpthread + override LIBS += -lpthread -ldl endif # Remove all the built-in rules, enable second expansion, etc. diff --git a/bootstrap.sh b/bootstrap.sh index 6eb570f..7d6a895 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -146,4 +146,4 @@ done # mode since 4.9 doesn't recognize c++1z. # set -x -"$cxx" "-I$libbutl" -I. -DBUILD2_BOOTSTRAP '-DBUILD2_HOST_TRIPLET="'"$host"'"' -std=c++1y "$@" -o build2/b-boot $r -lpthread +"$cxx" "-I$libbutl" -I. -DBUILD2_BOOTSTRAP '-DBUILD2_HOST_TRIPLET="'"$host"'"' -std=c++1y "$@" -o build2/b-boot $r -lpthread -ldl |