freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] A patch to ft2demos.


From: 山内 英敏
Subject: [Devel] A patch to ft2demos.
Date: Fri, 13 Jun 2003 22:28:31 +0900 (JST)

Hello,

Here is a patch adding $X11_LIB to runtime search path in ELF programs.

diff -ur /usr/local/work/FreeType/ft2demos/graph/x11/rules.mk 
ft2demos/graph/x11/rules.mk
--- /usr/local/work/FreeType/ft2demos/graph/x11/rules.mk        Tue Jan  1 
01:04:45 2002
+++ ft2demos/graph/x11/rules.mk Sun Apr 27 14:01:06 2003
@@ -64,6 +64,9 @@
   # the GRAPH_LINK variable is expanded each time an executable is linked
   # against the graphics library.
   #
+  ifeq ($(PLATFORM),unix)
+    GRAPH_LINK += $(X11_LIB:%=-R %)
+  endif
   GRAPH_LINK     += $(X11_LIB:%=-L%) -lX11
 
   # Solaris needs a -lsocket in GRAPH_LINK ..


---- YAMANO-UCHI, Hidetoshi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]