aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/makefile.pd-linux
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/makefile.pd-linux')
-rw-r--r--externals/grill/vasp/makefile.pd-linux7
1 files changed, 5 insertions, 2 deletions
diff --git a/externals/grill/vasp/makefile.pd-linux b/externals/grill/vasp/makefile.pd-linux
index 8da8e37c..1f8f7c09 100644
--- a/externals/grill/vasp/makefile.pd-linux
+++ b/externals/grill/vasp/makefile.pd-linux
@@ -19,8 +19,6 @@ INCLUDES=$(PDINC)
FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS
CFLAGS=-O2 ${UFLAGS}
LDFLAGS=-Wl,-s
-LIBS=flext
-
ifdef FLEXT_SHARED
CFLAGS+=-shared -DFLEXT_SHARED
@@ -30,7 +28,12 @@ LDFLAGS+=-i_dynamic
else
LDFLAGS+=-Wl,-Bdynamic
endif
+LIBS=flext
+
+else
+# take threaded flext lib
+LIBS=flext_t
endif