summaryrefslogtreecommitdiff
path: root/packages/rdesktop/rdesktop-1.4.1/strip.patch
blob: 6977b990aa6064d1b1a79ab94b010cfcc3f8e982 (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
--- rdesktop/configure.ac	2005-06-06 15:14:45.000000000 +0100
+++ rdesktop/configure.ac-new	2005-12-11 16:48:35.000000000 +0000
@@ -23,6 +23,8 @@
 AC_CHECK_HEADER(locale.h, AC_DEFINE(HAVE_LOCALE_H))
 AC_CHECK_HEADER(langinfo.h, AC_DEFINE(HAVE_LANGINFO_H))
 
+AC_CHECK_TOOL(STRIP, strip, :)
+
 rpath=""
 
 #
--- rdesktop/Makefile.in	2005-08-25 21:39:58.000000000 +0100
+++ rdesktop/Makefile.in-new	2005-12-11 16:50:04.000000000 +0000
@@ -17,6 +17,7 @@
 INSTALL     = @INSTALL@
 CFLAGS      = @CFLAGS@ @X_CFLAGS@ @DEFS@ -DKEYMAP_PATH=\"$(KEYMAP_PATH)\"
 LDFLAGS     = @LDFLAGS@ @LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
+STRIP       = @STRIP@
 
 TARGETS     = rdesktop @RDP2VNCTARGET@
 VNCINC      = @VNCINC@
@@ -56,7 +57,7 @@
 installbin: rdesktop
 	mkdir -p $(DESTDIR)$(bindir)
 	$(INSTALL) rdesktop $(DESTDIR)$(bindir)
-	strip $(DESTDIR)$(bindir)/rdesktop
+	$(STRIP) $(DESTDIR)$(bindir)/rdesktop
 	chmod 755 $(DESTDIR)$(bindir)/rdesktop
 
 .PHONY: installman