Changeset 25 in Main


Ignore:
Timestamp:
Sep 15, 2024, 12:10:29 AM (2 months ago)
Author:
Nishi
Message:

fix dylib load

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r17 r25  
    44PLATFORM = generic
    55PREFIX = /usr/local
     6
     7include Platform/$(PLATFORM).mk
    68
    79FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
  • trunk/Platform/win64.mk

    r17 r25  
    11# $Id$
     2
     3PREFIX = C:/Tewi
    24
    35CC = x86_64-w64-mingw32-gcc
  • trunk/Server/module.c

    r18 r25  
    2828        lib = LoadLibraryA(path);
    2929#else
    30         lib = dlopen(path, DL_LAZY);
     30        lib = dlopen(path, RTLD_LAZY);
    3131#endif
    3232        if(lib == NULL) {
  • trunk/example.conf

    r24 r25  
    44#LoadModule /home/nishi/SVN/tewi/trunk/Module/mod_example.so
    55
    6 Listen 80
    7 ListenSSL 443
     6Listen 8000
     7#Listen 80
     8#ListenSSL 443
    89
    910SSLKey key.pem
Note: See TracChangeset for help on using the changeset viewer.