The Samba-Bugzilla – Attachment 790 Details for
Bug 2058
examples/auth/Makefile and examples/pdb/Makefile shared object creation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to fix build of shared opbjects
libtool-mode.diff (text/plain), 1.73 KB, created by
Lars Müller
on 2004-11-18 07:22:27 UTC
(
hide
)
Description:
Proposed patch to fix build of shared opbjects
Filename:
MIME Type:
Creator:
Lars Müller
Created:
2004-11-18 07:22:27 UTC
Size:
1.73 KB
patch
obsolete
>Author: Andreas Schwab <schwab at suse dot de>, Lars Mueller <lmuelle at suse dot de> >Subject: Fix shared object creation of examples >Bugzilla: bugzilla.Samba.org #2058 > >--- samba-3.0.8/examples/auth/Makefile >+++ samba-3.0.8/examples/auth/Makefile 2004-11-08 16:24:44 >@@ -9,7 +9,7 @@ > UBIQX_SRC = ../../source/ubiqx > SMBWR_SRC = ../../source/smbwrapper > CFLAGS = -I$(SAMBA_SRC) -I$(SAMBA_INCL) -I$(UBIQX_SRC) -I$(SMBWR_SRC) -Wall -g >-AUTH_OBJS = auth_skel.so >+AUTH_OBJS = auth_skel.la > > # Default target > >@@ -17,8 +17,8 @@ > > # Pattern rules > >-%.so: %.lo >- $(LIBTOOL) --mode=link $(CC) -shared -o $@ $< $(LDFLAGS) >+%.la: %.lo >+ $(LIBTOOL) --mode=link $(CC) -module -o $@ $< $(LDFLAGS) > > %.lo: %.c > $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $< >@@ -28,4 +28,4 @@ > clean: > rm -rf .libs > rm -f core *~ *% *.bak \ >- $(AUTH_OBJS) $(AUTH_OBJS:.so=.o) $(AUTH_OBJS:.so=.lo) >+ $(AUTH_OBJS) $(AUTH_OBJS:.la=.o) $(AUTH_OBJS:.la=.lo) >--- samba-3.0.8/examples/pdb/Makefile >+++ samba-3.0.8/examples/pdb/Makefile 2004-11-08 16:29:53 >@@ -9,7 +9,7 @@ > UBIQX_SRC = ../../source/ubiqx > SMBWR_SRC = ../../source/smbwrapper > CFLAGS = -I$(SAMBA_SRC) -I$(SAMBA_INCL) -I$(UBIQX_SRC) -I$(SMBWR_SRC) -Wall -g -I/usr/include/heimdal -fPIC >-PDB_OBJS = pdb_test.so >+PDB_OBJS = pdb_test.la > > # Default target > >@@ -17,8 +17,8 @@ > > # Pattern rules > >-%.so: %.lo >- $(LIBTOOL) --mode=link $(CC) -shared -o $@ $< $(LDFLAGS) >+%.la: %.lo >+ $(LIBTOOL) --mode=link $(CC) -module -o $@ $< $(LDFLAGS) -rpath /usr/lib/samba/pdb/ > > %.lo: %.c > $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $< >@@ -28,4 +28,4 @@ > clean: > rm -rf .libs > rm -f core *~ *% *.bak \ >- $(PDB_OBJS) $(PDB_OBJS:.so=.o) $(PDB_OBJS:.so=.lo) >+ $(PDB_OBJS) $(PDB_OBJS:.la=.o) $(PDB_OBJS:.la=.lo)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2058
:
790
|
921