Opened 9 years ago

Last modified 3 years ago

#143 new enhancem.

build as shared

Reported by: diver Owned by: diver
Priority: minor Milestone: Samba Server for OS/2 and OS/2-based systems 2.0.x
Component: Samba Server Version:
Keywords: Cc:

Description

because the exe get bigger and bigger, it could make sense to see if we could build samba with dll (shared)

Change History (4)

comment:1 Changed 9 years ago by ydario

Nice idea.

While I don't see a problem for the server code to build sambaclientlib as dll (and the other one too), it will be an issue for the netdrive plugin (other dlls must be installed into ndfs3 directory, not to ndplugs subdir); since plugin is already small, I suggest to use DLL only for server code.

comment:2 Changed 9 years ago by diver

yes server only. with the client it doesn't make sense, as we have one dll there only. on the server side i guess it's good, as most exe uses the same codepath.

comment:3 Changed 9 years ago by diver

  • Type changed from defect to enhancem.

it looks like only the plugins are built as shared right now. and libsmbclient is done static. at least this is how i interpret configure. the second problem is that they build the dll in non 8.3 manner and add a suffix to the dll. to get it working it would need changes in makefile.in also.

comment:4 Changed 3 years ago by diver

  • Milestone changed from Samba Server for eCS (OS/2) 1.3.x to Samba Server for OS/2 and OS/2-based systems 2.0.x
  • Version Server 3.5.x deleted
Note: See TracTickets for help on using tickets.