summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-02-04 22:40:59 +0000
committerGunter Knauf <gk@gknw.de>2008-02-04 22:40:59 +0000
commit7bd098f670b7d78bed5266e0577171625fc9accf (patch)
tree2fd3cb50ca5d415f513cc393993c1a2f82fb9852 /src
parent4b5c504bd4c1e73a7bcbb3cd7a23ac8e4619cf61 (diff)
downloadcurl-7bd098f670b7d78bed5266e0577171625fc9accf.tar.gz
fixed entry symbols when linked with posix prelude.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.netware5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 661c7d1a4..7818391bb 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -316,9 +316,14 @@ ifeq ($(POSIXFL),1)
endif
@echo $(DL)flag_on 64$(DL) >> $@
@echo $(DL)pseudopreemption$(DL) >> $@
+ifeq ($(findstring posixpre,$(PRELUDE)),posixpre)
+ @echo $(DL)start POSIX_Start$(DL) >> $@
+ @echo $(DL)exit POSIX_Stop$(DL) >> $@
+else
@echo $(DL)start _LibCPrelude$(DL) >> $@
@echo $(DL)exit _LibCPostlude$(DL) >> $@
@echo $(DL)check _LibCCheckUnload$(DL) >> $@
+endif
@echo $(DL)import @$(SDK_LIBC)/imports/libc.imp$(DL) >> $@
@echo $(DL)import @$(SDK_LIBC)/imports/netware.imp$(DL) >> $@
ifndef DISABLE_LDAP