Commits

Leonardo de Moura committed 10b54d2

fixing linking problem

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>

Comments (0)

Files changed (2)

scripts/config-debug.mk.in

 AR_OUTFLAG= 
 EXE_EXT=
 LINK=@CXX@
-LINK_FLAGS=-lpthread -fopenmp @LDFLAGS@
+LINK_FLAGS=
 LINK_OUT_FLAG=-o 
+LINK_EXTRA_FLAGS=-lpthread -fopenmp @LDFLAGS@
 SO_EXT=@SO_EXT@
 SLINK=@CXX@
 SLINK_FLAGS=@SLIBFLAGS@

scripts/config-release.mk.in

 AR_OUTFLAG= 
 EXE_EXT=
 LINK=@CXX@
-LINK_FLAGS=-lpthread -fopenmp @LDFLAGS@
+LINK_FLAGS=
 LINK_OUT_FLAG=-o 
+LINK_EXTRA_FLAGS=-lpthread -fopenmp @LDFLAGS@
 SO_EXT=@SO_EXT@
 SLINK=@CXX@
 SLINK_FLAGS=@SLIBFLAGS@