Changeset 250


Ignore:
Timestamp:
Jan 27, 2011, 9:28:28 PM (15 years ago)
Author:
dmik
Message:

jdk/make: jpda/transport: Oops, dt_shmem.dll didn't export the OnLoad method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/jpda/transport/shmem/Makefile

    r249 r250  
    6969endif
    7070
     71# Add -export options to explicitly spell exported symbols
     72ifeq ($(PLATFORM), windows)
     73  OTHER_LCF += -export:jdwpTransport_OnLoad
     74endif
     75
     76ifeq ($(PLATFORM), os2)
     77
     78# exports live in .def file
     79DEF_FILE = $(OBJDIR)/$(LIBRARY).def
     80$(DEF_FILE): $(MAKEFILE_LIST)
     81        @$(ECHO) "LIBRARY $(LIBRARY) INITINSTANCE TERMINSTANCE" > $@
     82        @$(ECHO) 'EXPORTS \n \
     83  jdwpTransport_OnLoad = "_jdwpTransport_OnLoad@16" \n \
     84' >> $@
     85
     86clean::
     87        -$(RM) $(DEF_FILE)
     88
     89endif
     90
    7191#
    7292# Rules.
     
    7494include $(BUILDDIR)/common/Library.gmk
    7595
    76 # Add -export options to explicitly spell exported symbols
    77 ifeq ($(PLATFORM), windows)
    78   OTHER_LCF += -export:jdwpTransport_OnLoad
    79 endif
    80 
    8196#
    8297# vpaths for the transport (should not be seen by others)
Note: See TracChangeset for help on using the changeset viewer.