summaryrefslogtreecommitdiff
path: root/ext/util
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2002-05-02 08:01:50 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-02 22:30:10 +0000
commit94c41b70f2003bd6af9f4f7031a5fec4d37fe1df (patch)
tree1c629c12628d3e6ec2a956e2b9359abd75c8100a /ext/util
parent86916d66ae9b2cd92f84db117225a0f42c73e651 (diff)
downloadperl-94c41b70f2003bd6af9f4f7031a5fec4d37fe1df.tar.gz
Re: Perl 5.8-to-be NetBSD testing?
Message-ID: <Pine.SOL.4.10.10205021156390.325-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@16356
Diffstat (limited to 'ext/util')
-rw-r--r--ext/util/make_ext11
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/util/make_ext b/ext/util/make_ext
index 317dd5c8ce..8bcd7d8ad2 100644
--- a/ext/util/make_ext
+++ b/ext/util/make_ext
@@ -85,16 +85,19 @@ echo " Making $mname ($target)"
cd ext/$pname
-# check link type and do any preliminaries
+# check link type and do any preliminaries. Valid link types are
+# 'dynamic', 'static', and 'static_pic' (the last one respects
+# CCCDLFLAGS such as -fPIC -- see static_target in the main Makefile.SH)
case "$target" in
- # convert 'static' or 'dynamic' into 'all LINKTYPE=XXX'
+dynamic) makeargs="LINKTYPE=dynamic";
+ target=all
+ ;;
static) makeargs="LINKTYPE=static CCCDLFLAGS="
target=all
;;
-dynamic) makeargs="LINKTYPE=dynamic";
+static_pic) makeargs="LINKTYPE=static"
target=all
;;
-
nonxs) makeargs="";
target=all
;;