repair for cross-build of OS X executables

This commit is contained in:
Matthew Flatt 2016-01-08 16:22:44 -07:00
parent d4f3dfb3d0
commit 30005d41ac

View File

@ -1,10 +1,11 @@
#lang racket/base
(require setup/cross-system)
(provide add-plt-segment
get/set-dylib-path)
(define exe-id
(if (equal? (path->bytes (system-library-subpath #f)) #"x86_64-macosx")
(if (equal? (path->bytes (cross-system-library-subpath #f)) #"x86_64-macosx")
#xFeedFacf
#xFeedFace))