Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37894924
en ru br
ALT Linux repos
S:0.9.23.1-alt1
D:0.3.2-alt1.1
5.0: 0.4.1-alt1
4.1: 0.4.0-alt4
4.0: 0.3.2-alt1

Group :: System/Servers
RPM: xrdp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xrdp_sesmantools.patch
Download


--- sesman/tools/Makefile	2007-05-23 10:56:18 +0400
+++ sesman/tools/Makefile	2007-08-27 13:22:03 +0400
@@ -16,15 +16,16 @@
 CFLAGS = -Wall -O2 -I../../common -I../ -I/usr/include/nptl -I../libscp $(DEFINES)
 LDFLAGS = -L/usr/gnu/lib -L/usr/lib/nptl -L../libscp -Wl,-rpath,. -lpthread -ldl -lscp
 C_OS_FLAGS = $(CFLAGS) -c
+LDADD = -ldl -lpthread -lscp
 CC = gcc
 
 all: stest srun
 
 stest: $(SESTESTOBJ)
-	$(CC) $(LDFLAGS) -o sestest $(SESTESTOBJ)
+	$(CC) $(LDFLAGS) -o sestest $(SESTESTOBJ) $(LDADD)
 
 srun: $(SESRUNOBJ)
-	$(CC) $(LDFLAGS) -o sesrun $(SESRUNOBJ)
+	$(CC) $(LDFLAGS) -o sesrun $(SESRUNOBJ) $(LDADD)
 
 os_calls.o: ../../common/os_calls.c
 	$(CC) $(C_OS_FLAGS) ../../common/os_calls.c
--- sesman/Makefile.orig	2007-09-24 22:41:38 +0400
+++ sesman/Makefile	2007-09-24 22:42:55 +0400
@@ -17,7 +17,7 @@ DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/
 	  -DSESMAN_SESSVC_FILE=\"sessvc\"
 
 CFLAGS = -Wall -O2 -I../common -I/usr/include/nptl -I./libscp $(DEFINES) 
-LDFLAGS = -L/usr/gnu/lib -L/usr/lib/nptl -L./libscp
+LDFLAGS = -L/usr/gnu/lib -L/usr/lib/nptl -L./libscp -Wl,-rpath,$(DESTDIR)
 C_OS_FLAGS = $(CFLAGS) -c
 LDADD = -ldl -lpthread -lscp
 CC = gcc
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin