File: fix-ftbfs-not-linux

package info (click to toggle)
tcltls 1.6.7%2Bdfsg-1.2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,532 kB
  • ctags: 399
  • sloc: ansic: 2,736; tcl: 379; sh: 301; makefile: 70
file content (29 lines) | stat: -rw-r--r-- 831 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: fix FTBFS on non-linux architecture, by defining DL_OBJS there too
 need to patch the configure script directly as no autoreconf is done
Authors: Mattia Rizzolo <mattia@debian.org>, Svante Signell <svante.signell@gmail.com>
Last-Update: 2016-05-29
Bug-Debian: https://bugs.debian.org/803358
Forwarded: no

--- a/configure
+++ b/configure
@@ -8144,7 +8144,7 @@
 	    SHLIB_SUFFIX=".so"
 
 	    SHLIB_LD='${CC} -shared'
-	    DL_OBJS=""
+	    DL_OBJS="tclLoadDl.o"
 	    DL_LIBS="-ldl"
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 	    CC_SEARCH_FLAGS=""
--- a/tclconfig/tcl.m4
+++ b/tclconfig/tcl.m4
@@ -1603,7 +1603,7 @@
 	    SHLIB_SUFFIX=".so"
 
 	    SHLIB_LD='${CC} -shared'
-	    DL_OBJS=""
+	    DL_OBJS="tclLoadDl.o"
 	    DL_LIBS="-ldl"
 	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
 	    CC_SEARCH_FLAGS=""