Hi all,
running Lynx on our platform fails because the redundant specifaction
of $(LDFLAGS) makes gcc generating two dynamic segments in the binary
(we pass certain flags like -Wl,--dynamic-linker=ld.lib.so etc. via
$(LDFLAGS) to the linker).
I attached a patch which removes the redundant $(LDFLAGS).
bye,
Josef
diff -ruN lynx-2.8.8.dev12.orig/src/makefile.in lynx-2.8.8.dev12/src/makefile.in
--- lynx-2.8.8.dev12.orig/src/makefile.in 2012-05-02 13:09:14.898384245
+0200
+++ lynx-2.8.8.dev12/src/makefile.in 2012-05-02 13:09:54.834834559 +0200
@@ -102,7 +102,7 @@
lynx$x: message do_chartrans_stuff $(top_builddir)/LYHelp.h $(OBJS) $(WWWLIB)
@echo "Linking and creating Lynx executable"
- $(CC) $(CC_OPTS) $(LDFLAGS) -o $@ $(OBJS) $(WWWLIB) $(LDFLAGS) $(LIBS)
$(INTLLIB)
+ $(CC) $(CC_OPTS) $(LDFLAGS) -o $@ $(OBJS) $(WWWLIB) $(LIBS) $(INTLLIB)
@echo "Copying Lynx executable into top-level directory"
rm -f $(top_builddir)/$@
cp $@ $(top_builddir)/
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev