summaryrefslogtreecommitdiffstats
path: root/package/samba/patches/300-shared_lib_ldflags_fix.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-22 07:11:48 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-22 07:11:48 +0000
commitb53b4039b422d28c39389ea8f42f19061b48102f (patch)
tree45b2062826fe2aa6ac8d01631411831653a685d6 /package/samba/patches/300-shared_lib_ldflags_fix.patch
parentc53dbb284076ac7a68628788df3d02dd62bca6d4 (diff)
add samba package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1719 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/samba/patches/300-shared_lib_ldflags_fix.patch')
-rw-r--r--package/samba/patches/300-shared_lib_ldflags_fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/samba/patches/300-shared_lib_ldflags_fix.patch b/package/samba/patches/300-shared_lib_ldflags_fix.patch
new file mode 100644
index 000000000..7428facc4
--- /dev/null
+++ b/package/samba/patches/300-shared_lib_ldflags_fix.patch
@@ -0,0 +1,25 @@
+--- samba-2.0.10/source/Makefile.in.orig 2005-08-20 20:34:44.000000000 +0200
++++ samba-2.0.10/source/Makefile.in 2005-08-20 20:36:27.000000000 +0200
+@@ -475,11 +475,11 @@
+
+ bin/smbwrapper.@SHLIBEXT@: $(PICOBJS)
+ @echo Linking shared library $@
+- @$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LIBS)
++ @$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LDFLAGS) $(LIBS)
+
+ bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32)
+ @echo Linking shared library $@
+- @$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LIBS)
++ @$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LDFLAGS) $(LIBS)
+
+ bin/smbsh: $(SMBSH_OBJ) bin/.dummy
+ @echo Linking $@
+@@ -487,7 +487,7 @@
+
+ bin/libsmb.@SHLIBEXT@: $(LIBSMB_PICOBJS) bin/.dummy
+ @echo Linking shared library $@
+- @$(LD) @LDSHFLAGS@ -o $@ $(LIBSMB_PICOBJS) $(LIBS)
++ @$(LD) @LDSHFLAGS@ -o $@ $(LIBSMB_PICOBJS) $(LDFLAGS) $(LIBS)
+
+ install: installbin installman installscripts installcp installswat
+