summaryrefslogtreecommitdiff
path: root/src/print-ldperl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/print-ldperl.sh')
-rw-r--r--src/print-ldperl.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/print-ldperl.sh b/src/print-ldperl.sh
new file mode 100644
index 0000000..02331f0
--- /dev/null
+++ b/src/print-ldperl.sh
@@ -0,0 +1,10 @@
+ldopts="`head -1 ../conf-ldperl`"
+runperl="`head -1 ../conf-perl`"
+
+case "$ldopts" in
+ auto)
+ ldopts="`$runperl -MExtUtils::Embed -e ldopts`"
+ ;;
+esac
+
+echo "$ldopts"