summaryrefslogtreecommitdiffstats
path: root/main/gettext/gettext-0.15-expat-no-dlopen.patch
blob: 4630d1dd92d3847f286ebdce9d9e98e0b1885167 (plain)
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
30
31
32
33
34
35
36
Add support for expat-2 to xgettext by linking it at build time rather than
at runtime using dlopen

http://bugs.gentoo.org/146211

--- gettext-0.15/gettext-tools/configure
+++ gettext-0.15/gettext-tools/configure
@@ -44267,19 +44266,6 @@
 
 
 
-case "$host_os" in
-  linux*)
-
-cat >>confdefs.h <<\_ACEOF
-#define DYNLOAD_LIBEXPAT 1
-_ACEOF
-
-    LIBEXPAT="-ldl"
-    LTLIBEXPAT="-ldl"
-
-
-    ;;
-  *)
 
 
 
@@ -44786,8 +44772,6 @@
 
 
 
-    ;;
-esac
 
  # If set to t, that means we are running in a shell under Emacs.
  # If you have an Emacs named "t", then use the full path.