Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
ecaa13ce
Commit
ecaa13ce
authored
Dec 30, 2017
by
Mihai Moldovan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nx-X11: reintroduce creation of libX11 compat symlinks.
We need this to be able to execute the resulting nxagent binary from within the build directory.
parent
3d17c665
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
Imake.rules
nx-X11/config/cf/Imake.rules
+23
-0
Imakefile
nx-X11/programs/Xserver/Imakefile
+2
-0
No files found.
nx-X11/config/cf/Imake.rules
View file @
ecaa13ce
...
...
@@ -58,6 +58,7 @@ XCOMM ---------------------------------------------------------------------
* ComplexProgramTarget_3 (program,locallib,syslib)
* ServerTargetWithFlags (server,subdirs,objects,libs,syslibs,flags)
* ServerTarget (server,subdirs,objects,libs,syslibs)
* LibX11Links ()
* MoveToBakFile (file)
* RMoveToBakFile (file)
* RanLibrary (args)
...
...
@@ -1150,6 +1151,28 @@ clean:: @@\
ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,$(_NOOP_))
#endif /* ServerTarget */
/*
* Creates libX11 compat symlinks to enable execution of rpath-dependent
* programs.
*/
#ifndef LibX11Links
#define LibX11Links() @@\
AllTarget(libX11links) @@\
libX11links: @@\
$(LN) libNX_X11.so $(BUILDLIBDIR)/libX11.so @@\
$(LN) libNX_X11.so.6 $(BUILDLIBDIR)/libX11.so.6 @@\
$(LN) libNX_X11.so.6.3.0 $(BUILDLIBDIR)/libX11.so.6.3.0 @@\
touch libX11links @@\
@@\
clean:: @@\
RemoveFile($(BUILDLIBDIR)/libX11.so) @@\
RemoveFile($(BUILDLIBDIR)/libX11.so.6) @@\
RemoveFile($(BUILDLIBDIR)/libX11.so.6.3.0) @@\
RemoveFile(libX11links)
#endif /* LibX11Links */
#if DoRanlibCmd
#define RanLibrary(args) $(RANLIB) args
#else
...
...
nx-X11/programs/Xserver/Imakefile
View file @
ecaa13ce
...
...
@@ -391,6 +391,8 @@ NX_XSHADOWLIBNAME = libXcompshad.so
ServerTarget(nxagent,$(NXAGENTDIRS),$(NXAGENTOBJS), \
$(LIBCWRAPPER) $(NXCOMPEXT) $(NXAGENTLIBS) $(LOADABLEEXTS),$(NXAGENTNXLIBS) $(NXAGENTSYSLIBS) $(NXCOMPEXTSYSLIBS))
LibX11Links()
/*
* Hard coded target to build a static nxagent server.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment