On Wednesday 05 January 2011 11:25:18 Cristian Morales Vega wrote:
2011/1/5 Ilya Chernykh
: On Wednesday 05 January 2011 11:00:42 Cristian Morales Vega wrote:
So the order is wrong. Fix it or use "export SUSE_ASNEEDED=0" (with the side effect of perhaps making your package require libraries that the binary doesn't really use).
"export SUSE_ASNEEDED=0" does not help here, unfortunately.
Your spec file says "SUSE_AS_NEEDED", no SUSE_ASNEEDED. About the
export LDFLAGS="$LDFLAGS -lkdecore -lkdeui -lkio -lqt-mt -lkparts -lDCOP"
part. I have not looked in the makefile. But in general in LDFLAGS you must NOT use "-l<lib>". *LDFLAGS* variables are usually inserted and the start of the command line, so the problem. The correct variable is usually something of the form *LIB* or *LDADD*.
LIBS still puts it into beginning of the command line. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org