build only on 2.6 ports
[openwrt.git] / package / samba / patches / 300-shared_lib_ldflags_fix.patch
1 --- samba-2.0.10/source/Makefile.in.orig 2005-08-20 20:34:44.000000000 +0200
2 +++ samba-2.0.10/source/Makefile.in 2005-08-20 20:36:27.000000000 +0200
3 @@ -475,11 +475,11 @@
4
5 bin/smbwrapper.@SHLIBEXT@: $(PICOBJS)
6 @echo Linking shared library $@
7 - @$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LIBS)
8 + @$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LDFLAGS) $(LIBS)
9
10 bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32)
11 @echo Linking shared library $@
12 - @$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LIBS)
13 + @$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LDFLAGS) $(LIBS)
14
15 bin/smbsh: $(SMBSH_OBJ) bin/.dummy
16 @echo Linking $@
17 @@ -487,7 +487,7 @@
18
19 bin/libsmb.@SHLIBEXT@: $(LIBSMB_PICOBJS) bin/.dummy
20 @echo Linking shared library $@
21 - @$(LD) @LDSHFLAGS@ -o $@ $(LIBSMB_PICOBJS) $(LIBS)
22 + @$(LD) @LDSHFLAGS@ -o $@ $(LIBSMB_PICOBJS) $(LDFLAGS) $(LIBS)
23
24 install: installbin installman installscripts installcp installswat
25
This page took 0.049598 seconds and 5 git commands to generate.