FVWM: 2.0.45 should be linked with $(CCLINK)

From: Vin Shelton <acs_at_world.std.com>
Date: Sat, 15 Feb 1997 14:12:42 -0500

The attached diff fixes 2 minro glitches in the Fvwm.tmpl file.
The $(CCLINK) macro, not the $(CC) macro should be used to link
executables under X11R6, at least release 3. This makes a difference
on platforms where LD_RUN_PATH is used to set the runtime path for
shared objects. Ie, my CCLINK macro is:

LD_RUN_PATH=/opt/X11R6/lib cc

Thanks a lot.

vin shelton


*** Fvwm.tmpl~ Wed Jan 22 08:38:49 1997
--- Fvwm.tmpl Sat Feb 15 13:38:05 1997
***************
*** 460,466 ****
                                                                          _at_@\
  program: $(OBJS) $(DEPLIBS) _at_@\
          RemoveTargetProgram($_at_) @@\
! $(CC) -o $_at_ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) @@\
                                                                          _at_@\
  InstallProgram(program,$(FVWMDIR)) _at_@\
  InstallManPage(program,$(MANDIR)) _at_@\
--- 460,466 ----
                                                                          _at_@\
  program: $(OBJS) $(DEPLIBS) _at_@\
          RemoveTargetProgram($_at_) @@\
! $(CCLINK) -o $_at_ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) @@\
                                                                          _at_@\
  InstallProgram(program,$(FVWMDIR)) _at_@\
  InstallManPage(program,$(MANDIR)) _at_@\
***************
*** 485,491 ****
                                                                          _at_@\
  program: $(OBJS) $(DEPLIBS) _at_@\
          RemoveTargetProgram($_at_) @@\
! $(CC) -o $_at_ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) @@\
                                                                          _at_@\
  InstallProgram(program,$(FVWMBINDIR)) _at_@\
  InstallManPage(program,$(MANDIR)) _at_@\
--- 485,491 ----
                                                                          _at_@\
  program: $(OBJS) $(DEPLIBS) _at_@\
          RemoveTargetProgram($_at_) @@\
! $(CCLINK) -o $_at_ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) @@\
                                                                          _at_@\
  InstallProgram(program,$(FVWMBINDIR)) _at_@\
  InstallManPage(program,$(MANDIR)) _at_@\


--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Feb 15 1997 - 13:13:36 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST