Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8116477

bad link parameter in prism-es2-native makefile (mac)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx

      I noticed this message at after building prism-es2-native
      ld: warning: directory not found for option '-F/System/Library/Frameworks/JavaVM.framework/Libraries'

      That error is in /rt-closed/prism-es2-native/Makefile line 266:
      LINK_PARAMS = -framework Cocoa -framework OpenGL -F/System/Library/Frameworks/JavaVM.framework/Libraries -dynamiclib $(COMMON_PARAMS) -o $(PRISMES2_LIB)

      that -F/System/Library/Frameworks/JavaVM.framework/Libraries should be -framework JavaVM


      that said, I don't see us using it anywhere, the fix in my opinion is remove the entire entry

      diff -r d319566b0050 prism-es2-native/Makefile
      --- a/prism-es2-native/Makefile Wed Jan 30 08:45:37 2013 -0800
      +++ b/prism-es2-native/Makefile Wed Jan 30 09:59:21 2013 -0800
      @@ -263,7 +263,7 @@
        COMMON_PARAMS = -mmacosx-version-min=10.4 -arch i386 -arch x86_64 #-arch ppc
        endif
        LINK = $(CC)
      - LINK_PARAMS = -framework Cocoa -framework OpenGL -F/System/Library/Frameworks/JavaVM.framework/Libraries -dynamiclib $(COMMON_PARAMS) -o $(PRISMES2_LIB)
      + LINK_PARAMS = -framework Cocoa -framework OpenGL -dynamiclib $(COMMON_PARAMS) -o $(PRISMES2_LIB)
        CC_PARAMS = -DMACOSX -Fd$(BUILD_DIR) $(COMMON_PARAMS) -I$(OGL_INCLUDE_PATH) -I$(BUILD_DIR) -I$(JDK_HOME)/include -I$(JDK_HOME)/include/darwin -c
        endif
       endif



            ckyang Chien Yang (Inactive)
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: