summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-29 13:04:42 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-29 13:04:42 +0900
commit623736ae7f327015e23fbdb8f847a8424a3dd73a (patch)
tree130fde0bb1aa5dbaf83f1b9921f284a8a74bc57f
parent323c0c392a0b9665cacea271330b52769c9e06e2 (diff)
downloadruby-623736ae7f327015e23fbdb8f847a8424a3dd73a.tar.gz
Move DEFFILE to EXTDLDFLAGS
So that it is no longer needed in ruby.pc.in.
-rw-r--r--configure.ac2
-rw-r--r--template/ruby.pc.in1
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index beb352dbe9..fa1541797a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3751,7 +3751,7 @@ AS_CASE(["$target_os"],
LIBRUBY_DLDFLAGS="${LIBRUBY_DLDFLAGS}"' $(RUBYDEF)'
])
EXPORT_PREFIX=' '
- DLDFLAGS="${DLDFLAGS}"' $(DEFFILE)'
+ EXTDLDFLAGS='$(DEFFILE)'
AC_LIBOBJ([win32/win32])
AC_LIBOBJ([win32/file])
COMMON_LIBS=m
diff --git a/template/ruby.pc.in b/template/ruby.pc.in
index 2d21eff870..c4848805a3 100644
--- a/template/ruby.pc.in
+++ b/template/ruby.pc.in
@@ -49,7 +49,6 @@ LIBRUBYARG_STATIC=@LIBRUBYARG_STATIC@
LIBRUBYARG=@LIBRUBYARG@
LIBS=@LIBS@
DLDFLAGS=@DLDFLAGS@
-DEFFILE=@DEFFILE@
Name: Ruby
Description: Object Oriented Script Language