LDFLAGS patch for Samab 2.2.5
Nicholas Brealey
nick at brealey.org
Sun Jul 7 06:46:02 GMT 2002
Hello
I have attached a small patch to fix this problem on Solaris 7:
CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
CC=cc ./configure --with-acl-support --localstatedir=/var/samba
--with-configdir=/etc/samba --with-privatedir=/etc/samba --with-quotas
--with-automount --with-nisplus-home --with-smbwrapper
...
make
...
Linking shared library bin/smbwrapper.so
ld: fatal: library -lpopt: not found
Nick
-------------- next part --------------
--- Makefile.in.2.2.5 Sat Jul 6 05:13:26 2002
+++ Makefile.in Sat Jul 6 05:15:37 2002
@@ -631,7 +631,7 @@
bin/smbwrapper. at SHLIBEXT@: $(PICOBJS) bin/.dummy
@echo Linking shared library $@
- @$(SHLD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LIBS) \
+ @$(SHLD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LDFLAGS) $(LIBS) \
@SONAMEFLAG@`basename $@`
bin/smbwrapper.32. at SHLIBEXT@: $(PICOBJS32) bin/.dummy
More information about the samba-technical
mailing list