mirror of https://github.com/ImVexed/muon.git
Merge pull request #31 from ImVexed/fix-x86compile
Added conditional LDFLAGS to support windows x86
This commit is contained in:
commit
ae2a6637f2
|
@ -7,7 +7,11 @@ package ultralight
|
|||
|
||||
/*
|
||||
#cgo CFLAGS: -I../include
|
||||
#cgo LDFLAGS: -L${SRCDIR}/libs -lUltralightCore -lWebCore -lUltralight -lAppCore
|
||||
#cgo windows,386 LDFLAGS: -L${SRCDIR}/libs/windows/x32
|
||||
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/libs/windows/x64
|
||||
#cgo darwin,amd64 LDFLAGS: -L${SRCDIR}/libs/darwin/x64
|
||||
#cgo linux,amd64 LDFLAGS: -L${SRCDIR}/libs/linux/x64
|
||||
#cgo LDFLAGS: -lUltralightCore -lWebCore -lUltralight -lAppCore
|
||||
#include "AppCore/CAPI.h"
|
||||
#include <stdlib.h>
|
||||
#include "cgo_helpers.h"
|
||||
|
|
|
@ -7,7 +7,11 @@ package ultralight
|
|||
|
||||
/*
|
||||
#cgo CFLAGS: -I../include
|
||||
#cgo LDFLAGS: -L${SRCDIR}/libs -lUltralightCore -lWebCore -lUltralight -lAppCore
|
||||
#cgo windows,386 LDFLAGS: -L${SRCDIR}/libs/windows/x32
|
||||
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/libs/windows/x64
|
||||
#cgo darwin,amd64 LDFLAGS: -L${SRCDIR}/libs/darwin/x64
|
||||
#cgo linux,amd64 LDFLAGS: -L${SRCDIR}/libs/linux/x64
|
||||
#cgo LDFLAGS: -lUltralightCore -lWebCore -lUltralight -lAppCore
|
||||
#include "AppCore/CAPI.h"
|
||||
#include <stdlib.h>
|
||||
#include "cgo_helpers.h"
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -7,7 +7,11 @@ package ultralight
|
|||
|
||||
/*
|
||||
#cgo CFLAGS: -I../include
|
||||
#cgo LDFLAGS: -L${SRCDIR}/libs -lUltralightCore -lWebCore -lUltralight -lAppCore
|
||||
#cgo windows,386 LDFLAGS: -L${SRCDIR}/libs/windows/x32
|
||||
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/libs/windows/x64
|
||||
#cgo darwin,amd64 LDFLAGS: -L${SRCDIR}/libs/darwin/x64
|
||||
#cgo linux,amd64 LDFLAGS: -L${SRCDIR}/libs/linux/x64
|
||||
#cgo LDFLAGS: -lUltralightCore -lWebCore -lUltralight -lAppCore
|
||||
#include "AppCore/CAPI.h"
|
||||
#include <stdlib.h>
|
||||
#include "cgo_helpers.h"
|
||||
|
|
|
@ -7,7 +7,11 @@ package ultralight
|
|||
|
||||
/*
|
||||
#cgo CFLAGS: -I../include
|
||||
#cgo LDFLAGS: -L${SRCDIR}/libs -lUltralightCore -lWebCore -lUltralight -lAppCore
|
||||
#cgo windows,386 LDFLAGS: -L${SRCDIR}/libs/windows/x32
|
||||
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/libs/windows/x64
|
||||
#cgo darwin,amd64 LDFLAGS: -L${SRCDIR}/libs/darwin/x64
|
||||
#cgo linux,amd64 LDFLAGS: -L${SRCDIR}/libs/linux/x64
|
||||
#cgo LDFLAGS: -lUltralightCore -lWebCore -lUltralight -lAppCore
|
||||
#include "AppCore/CAPI.h"
|
||||
#include <stdlib.h>
|
||||
#include "cgo_helpers.h"
|
||||
|
|
Loading…
Reference in New Issue