summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2010-11-05 15:19:40 +0100
committerRobert Nagy <robert@openbsd.org>2010-11-08 12:24:50 +0100
commitf33e637b480d8da92261b6f8b983ed48775977be (patch)
treefac866d0b6f07e9c5bca0e114ff074b565b8a2f8 /extensions
parent509d298ac859a487aece51dcd4e23cd3237a3f68 (diff)
Do not use -ldl on OpenBSD and tidy up the .IF block a bit
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/scanner/makefile.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/extensions/source/scanner/makefile.mk b/extensions/source/scanner/makefile.mk
index 26ed6e70e6a9..baaefdf66e7d 100644
--- a/extensions/source/scanner/makefile.mk
+++ b/extensions/source/scanner/makefile.mk
@@ -76,13 +76,10 @@ SHL1STDLIBS=\
$(VCLLIB) \
$(SVTOOLLIB)
-.IF "$(GUI)"=="UNX"
-.IF "$(OS)"!="FREEBSD"
-.IF "$(OS)"!="NETBSD"
+.IF "$(GUI)"=="UNX" && "$(OS)"!="FREEBSD" && \
+ "$(OS)"!="NETBSD" && "$(OS)"!="OPENBSD"
SHL1STDLIBS+=$(SVTOOLLIB) -ldl
.ENDIF
-.ENDIF
-.ENDIF
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
SHL1IMPLIB=i$(TARGET)