Skip to content

Commit

Permalink
OS X fixes by Andrew Kerr
Browse files Browse the repository at this point in the history
git-svn-id: https://jmagick.svn.sf.net/svnroot/jmagick/trunk@69 00265e9a-a446-0410-a409-fb6d3c48c71e
  • Loading branch information
nordfalk committed Feb 16, 2009
1 parent a740ea0 commit b66c652
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Make.rules
@@ -1,7 +1,7 @@
# Copyright (C) 1999 Eric Yeo. All rights reserved.

ifeq ($(strip $(OS)),Darwin)
DARWIN = true
DARWIN = true
endif


Expand Down Expand Up @@ -172,8 +172,8 @@ $(JNI_LIB): $(JNI_OBJ)
@-ln -s ./jmagick-$(MAJOR).$(MINOR).$(MICRO).jar $(PROJ_BASE_DIR)/lib/jmagick.jar
ifdef DARWIN
# Mac OS X
@-echo "Using install_name_tool..."
@-/usr/bin/install_name_tool -id $(PROJ_BASE_DIR)lib/lib$(JNI_LIB_NAME)$(SHARED_LIB_EXT) $(PROJ_BASE_DIR)/lib/lib$(JNI_LIB_NAME)-$(MAJOR).$(MINOR).$(MICRO)$(SHARED_LIB_EXT)
@-echo "Using install_name_tool..."
@-/usr/bin/install_name_tool -id $(PROJ_BASE_DIR)lib/lib$(JNI_LIB_NAME)$(SHARED_LIB_EXT) $(PROJ_BASE_DIR)/lib/lib$(JNI_LIB_NAME)-$(MAJOR).$(MINOR).$(MICRO)$(SHARED_LIB_EXT)
endif

## @-install_name_tool -id $(JNI_LIB) $(PROJ_BASE_DIR)/lib/lib$(JNI_LIB_NAME)-$(MAJOR).$(MINOR).$(MICRO)$(SHARED_LIB_EXT)
Expand Down
2 changes: 1 addition & 1 deletion src/magick/magick_MagickImage.c
Expand Up @@ -4277,7 +4277,7 @@ JNIEXPORT jobject JNICALL Java_magick_MagickImage_trimImage
* Signature: (DD)Lmagick/MagickImage;
*/
JNIEXPORT jobject JNICALL Java_magick_MagickImage_blurImageChannel
(JNIEnv *env, jobject self, int channelType, jdouble radius, jdouble sigma)
(JNIEnv *env, jobject self, jint channelType, jdouble radius, jdouble sigma)
{
Image *image = NULL, *blurredImage = NULL;
jobject newObj;
Expand Down

0 comments on commit b66c652

Please sign in to comment.